Example: simple<!DOCTYPE html><html><head>
<script type='text/javascript' src='http://e.maplarge.com/js'></script>
<script type='text/javascript' >
maplarge.onload(function () {
//create a new div and add to document
var div = ml.create('div', "width:600px; height:600px; float:left;", document.body);
//create a map zoomed in on Atlanta, GA (34,-84)
var map = new ml.map(div, { lat: 34, lng: -84, z: 9 });
//add a layer with no style: default is "red dots"
var layer = new ml.layer(map,
{
query: {
table: { name: 'hms/hotels' }, //table name = hotels
select: { type: 'geo.dot' } //geography = dots
},
onClick:'debug'
}
);
//show the layer
layer.show();
});
</script></head><body></body></html>