Usuario anónimo  |  Ingresar  |  Regístrate
Mensaje dentro Bugs and Improvements

Problem reverse geo coding

Responder 
#1 - 28/05/2009 9:15:03 Reporta abuso | Link permanente
wouter247
Fecha de registro: 04/04/2008
9 posts en todos los foros
Problem reverse geo coding

Responder Citar
I dont someone else has also the problem, but since a few days the geo coding doenst work anymore (before it worked perfect)

http://www.euroreizen.be/citytrips/londen/kaart.htm (has to show london)

http://www.reisroutes.be/stadswandelroutes-3/belgie-provincie-antwerpen-12.aspx

can someone help me? does some has this problems too?

regards
Wouter

Volver arriba

Respuestas
De en 15
#2 - 28/05/2009 15:26:25 Reporta abuso | Link permanente
wouter247
Fecha de registro: 04/04/2008
9 posts en todos los foros
RE: Problem reverse geo coding

Responder Citar

Here is the code I use, works perfect offline, but not on my server

Protected

Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.LoadDim myMap As New GMap'myMap.Visible = True

GMap1.Key = ConfigurationManager.AppSettings(

BindGmap(GMap1,

"GMapKey")"Parijs", 5)End Sub

AGmap.Language =

Sub BindGmap(ByVal AGmap As GMap, ByVal Destination As String, ByVal Zoom As Integer)Dim myGeoCode As GeoCodeDim geoCoding As New GeoCoding"nl"

AGmap.enableGKeyboardHandler =

True

AGmap.addControl(

myGeoCode = AGmap.getGeoCodeRequest(Destination)

AGmap.setCenter(

AGmap.addInfoWindow(window)

New GControl(GControl.preBuilt.SmallZoomControl))New GLatLng(myGeoCode.Placemark.coordinates.lat, myGeoCode.Placemark.coordinates.lng), Zoom)Dim marker As New GMarker(New GLatLng(myGeoCode.Placemark.coordinates.lat, myGeoCode.Placemark.coordinates.lng))Dim window As New GInfoWindow(marker, "", GListener.Event.infowindowclose)End Sub

Volver arriba
De en 15

Powered by Subgurim.NET