VE API Test

Basics

Zoom

MapView

Pushpins

Events

  • VEMap.AttachEvent
  • VEMap.DetachEvent

MapStyles

Birdseye

Pan

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