Get started with GeoStream by placing a map widget on your webpage, with a single line of code!

The GeoStream map widget is a JavaScript object you can use to add a map to your web page. The map widget constructor takes a number of values. Most importantly, the id value specifies where on the web page the map should be placed. This value should match the id of an HTML <div> tag.

Alongside the id value, a number of other values may be used to customise the display of the new map.

var map = new Telogis.GeoBase.Widgets.Map({ id: 'main_map' });

 

Published, Jun 28th 2010, 15:35

Tagged under: javascript maps