I seem to be struggling on a bit of code relating to this.
http://directory.konectinternet.com/images/maptest.html
When the page loads and it initializes you'll see an if statement
checks whether lat/lng coordinates exist already. If they do, it calls
geocodeLatLng(). In this instance, the co-ordinates do exist and so
geocodeLatLng is called. This then calls placeMarker which places a
marker on the map. :)
The problem is - somewhere, the co-ordinates initially supplied (as
can be seen in the code) get replaced with two new sets of co-
ordinates.
The reason I'm struggling is with exactly the same code but different
co-ordinates, it works fine.
http://directory.konectinternet.com/images/maptest2.html
The only difference is the co-ordinates are placed near a road. If the
initial co-ordinates are not near a road, this situation occurs every
time :-s.
Also, is there anyway to increase the accuracy of the marker
placement?
Cheers
On Sep 20, 3:24 pm, chrisevans1001 <
chrisevans1...@googlemail.com>
wrote: