VE API Test
Basics
VEMap Constructor
(default)
VEMap Constructor
(custom)
VEMap Constructor
(fixed view)
VEMap Constructor
(w/ onload callback)
VEMap Dispose
Zoom
VEMap.ZoomIn
VEMap.ZoomOut
VEMap.SetZoomLevel
VEMap.SetCenterAndZoom
VEMap.GetZoomLevel
MapView
VEMap.SetCenter
VEMap.GetMapView
VEMap.SetMapView (VELatLongs)
VEMap.SetMapView (VEPolylines)
VEMap.SetMapView (VELatLongRect)
VEMap.IncludePointInView
VEMap.GetCenter
VEMap.GetHeight
VEMap.GetWidth
VEMap.GetTop
VEMap.GetLeft
Pushpins
VEMap.AddPushpin
(default icon; click to show;)
VEMap.AddPushpin
(custom icon; click to show)
VEMap.AddPushpin
(static pin w/ no show on click)
VEMap.DeletePushpin
VEMap.DeleteAllPushpins
Events
VEMap.AttachEvent
VEMap.DetachEvent
MapStyles
VEMap.SetMapStyle
VEMap.GetMapStyle
Birdseye
VEMap.IsBirdseyeAvailable
VEMap.GetBirdseyeScene
VEMap.SetBirdseyeOrientation
VEMap.SetBirdseyeScene
Pan
VEMap.Pan
VEMap.PanToLatLong
Find
VEMap.FindLocation
(simple place or address)
VEMap.FindNearby
(simple nearby find)
VEMap.Find
(simple VE Style "what" "where" find)
VEMap.Find
(simple address find)
VEMap.Find
(place find with ambiguity)
VEMap.Find
(find pizza around place)
VEMap.Find
(find pizza around an ambiguious place)
VEMap.Find
(request results on the second page)
VEMap.Find
(call find with a callback function)
VEMap.ShowFindControl
VEMap.HideFindControl
Route
VEMap.GetRoute
(place to place route)
VEMap.GetRoute
(place to place route w/ Miles/Shortest option)
VEMap.GetRoute
(place to place route w/ Km/Quickest options)
VEMap.GetRoute
(place to addr route)
VEMap.GetRoute
(addr to addr route)
VEMap.GetRoute
(route w/ ambiguity)
VEMap.GetRoute
(route w/ callback)
VEMap.GetRoute
(route w/ Start/End VELatLongs)
VEMap.GetRoute
(route w/ Start VELatLong)
VEMap.GetRoute
(route w/ End VELatLongs)
VEMap.GetRoute
(route w/ test)
VEMap.GetRoute
(Houston,TX to Dallas,TX)
VEMap.GetRoute
(Seattle,WA to Houston,TX)
VEMap.GetRoute
(Houston,TX to Seattle, WA)
VEMap.GetRoute
(Houston, TX to Houston, TX)
VEMap.DeleteRoute
PolyLines
VEMap.AddPolyline
(default line)
VEMap.AddPolyline
(set color and opacity)
VEMap.AddPolyline
(set width to 30)
VEMap.DeletePolyline
VEMap.DeleteAllPolylines
Layers
VEMap.AddLayer (GeoRSS)
VEMap.AddLayer (GeoRSS)
(w callback)
VEMap.AddLayer (VECollection)
VEMap.AddLayer (VECollection)
(w callback)
VEMap.AddLayer (3 VECollections)
VEMap.AddLayer (VECollection - encoded)
VEMap.AddLayer (2 GeoRSS)
VEMap.HideLayer
VEMap.ShowLayer
VEMap.DeleteLayer
Helper Functions
VEMap.LatLongToPixel
VEMap.PixelToLatLong
VEMap.Resize
VEMap.ShowMessage
VEMap.HideDashboard
VEMap.ShowDashboard
VEMap.AddControl
VEMap.Clear
VEMap Static Methods
VEMap.GetVersion
VEPushpin Class
VEPushpin Constructor
VEPushpin.ShowDetailOnMouseOver (enable auto popup)
VEPushpin.ShowDetailOnMouseOver (disable auto popup)
VEPushpin.OnMouseOverCallback
(wire up the event)
VELatLong Class
VELatLong Constructor
VEPolyline Class
VEPolyline Constructor
VEPolyline Constructor (with Color)
VEPolyline Constructor (with Color and Width)
VEPolyline.SetColor
(set color and opacity)
VEPolyline.SetWidth
(set width to 30)
VEPolyline.GetLatLongs
Code
Run