I have written a program that calls for Google Static Maps. The URL is
as follows:
URLStr="http://maps.googleapis.com/maps/api/staticmap?center="& TBLatitude.Text & "," & TBLongitude.Text & "&zoom="&
Zoomlevel & "&size=240x240&maptype=roadmap"
URLStr=URLStr & "&markers=size:mid%7Ccolor:green%7C" & TBLatitude.Text & "," & TBLongitude.Text
URLStr=URLStr & "&markers=size:mid%7Ccolor:yellow%7C" & CurLatitude & "," & CurLongitude
If cPPC=True Then
URLStr=URLStr & "&sensor=true"
Else
URLStr=URLStr & "&sensor=false"
End If
WEB1.Navigate(URLStr)
This is the last statement in the sub; no processing is done until the DocumentCompleted event.
Using wireless internet (WIFI) the program works fine, however when I use mobile internet, I get the following error message, displayed in
the WEB window:
GW fout 403
Operatie administratief verboden
Translated from dutch to english:
GW error 403
Operation forbidden for administrative reasons
Removing the line which adds a marker for the current position - these could be zero or null - makes no difference, also setting the sensor
to false in case of cPPC =True, as I use the GPS also in this program, does not effect the bad result.
Loading Google maps with my mobile device using Google Maps and mobile internet works fine as well.
I am testing this program in France, where I will stay another 5 weeks. I do not know whether this message comes from my dutch mobile
operator or from Google, the latter also gives messages in dutch.
Does somebody have any idea why this error message is given?
Harry
as follows:
URLStr="http://maps.googleapis.com/maps/api/staticmap?center="& TBLatitude.Text & "," & TBLongitude.Text & "&zoom="&
Zoomlevel & "&size=240x240&maptype=roadmap"
URLStr=URLStr & "&markers=size:mid%7Ccolor:green%7C" & TBLatitude.Text & "," & TBLongitude.Text
URLStr=URLStr & "&markers=size:mid%7Ccolor:yellow%7C" & CurLatitude & "," & CurLongitude
If cPPC=True Then
URLStr=URLStr & "&sensor=true"
Else
URLStr=URLStr & "&sensor=false"
End If
WEB1.Navigate(URLStr)
This is the last statement in the sub; no processing is done until the DocumentCompleted event.
Using wireless internet (WIFI) the program works fine, however when I use mobile internet, I get the following error message, displayed in
the WEB window:
GW fout 403
Operatie administratief verboden
Translated from dutch to english:
GW error 403
Operation forbidden for administrative reasons
Removing the line which adds a marker for the current position - these could be zero or null - makes no difference, also setting the sensor
to false in case of cPPC =True, as I use the GPS also in this program, does not effect the bad result.
Loading Google maps with my mobile device using Google Maps and mobile internet works fine as well.
I am testing this program in France, where I will stay another 5 weeks. I do not know whether this message comes from my dutch mobile
operator or from Google, the latter also gives messages in dutch.
Does somebody have any idea why this error message is given?
Harry