MapViewer WebMapLocations 2020r2

have someone an example for webmaplocations?

the search was city, street no

i not set any api key yet, i guess that is the problem.

got this message

Public Sub Add(locationSearch as String)
  
  #Pragma BreakOnExceptions False
  Try
    Var location As New WebMapLocation(locationSearch) 
    Locations.Add location
    MapViewer1.AddLocation(location)
  Catch e As NilObjectException
    MessageBox e.Message
  End Try
  
End Sub

Yes, you need a Google Embedded Maps API Key.

1 Like