JavaScript API Functions

From Geomoose

Jump to: navigation, search

Starting to document or at least list out JavaScript functions that can be used. I'm not sure yet how to organize these or what the proper terminology is.

  • Map.zoomOut(); - zooms map out
  • Map.zoomIn(); - zooms map in
  • Map.zoomToExtent(minx,miny,maxx,maxy); - zooms map to extent
  • GeoMOOSE.turnLayerOff('layername'); - can use this to turn a layer on by using the layer name as an argument
  • GeoMOOSE.turnLayerOn('layername'); - can use this to turn a layer on by using the layer name as an argument
Personal tools