[Google Maps API v2] Re: Detecting Zoom Levels

2010-11-28 Thread DaGoo
Hi Andrew, This seems to work perfectly and achieved just what I was looking for. Thanks a lot! Leif -- You received this message because you are subscribed to the Google Groups "Google Maps API V2" group. To post to this group, send email to google-maps-...@googlegroups.com. To unsubscribe f

Re: Ending up in Mexico!

2010-08-24 Thread DaGoo
to be ignored. If the place 2008 AL does not exist, that is no problem, as long as I do not get the OK status (as the RADIUS parameter should filter Mexico away) Regards, Leif On Aug 24, 8:01 pm, Andrew Leach wrote: > On 24 August 2010 17:31, DaGoo wrote: > > > Any idea why I e

Ending up in Mexico!

2010-08-24 Thread DaGoo
Any idea why I end up in Las Lomitas, Mexico with this php command when using the RADIUS limit parameter? Regards Leif file('http://maps.google.com/maps/api/geocode/json?address=Plazh, +2008,+AL, +Albania&ie=UTF8&ll=41.000,20.000&radius=200miles&sensor=false') -- You received this message beca

Re: PHP mySQL geocode

2010-07-25 Thread DaGoo
Hi, I use the php file command to access googlemaps, where you are returned an array by supplying i.e. address, city, and state. For instance: $googleFileArray=file(http://maps.google.com/maps/api/ geocode/json?address='123_mainsteet+buffalo+new_york') You are then returned an array where you sho

Re: Goolge API to get country of a city

2010-07-03 Thread DaGoo
I am using this php-code to find LAT/LNG for a city: (Note: it may be better to use the ISO-code instead of country name, in the example +NO instead of +Norway) $googleHttp="http://maps.google.com/maps/api/geocode/json?address=Oslo, +Norway"; $googleArray = file($googleHttp); $elementNos=count($go

Re: Goolge API to get country of a city

2010-07-02 Thread DaGoo
What is the definition of a city? This may vary from country to country as well as depend on whether a location is officially registered as a city of not. I would be surprised if this problem can be solved via Google Map. On Jul 2, 7:39 am, vishal rai wrote: > Hi > > I have to integrate Google A

InfoWindow positioning

2010-04-26 Thread DaGoo
In the following map are four markers (P, EK, BB and 90). Clicking on any of them will bring up a corresponding InfoWindow, but the problem is that the InfoWindow always appears at the latest defined marker, which here is the "90"-marker. The site address is: http://www.omegacom.no/ekmap.html Any

Multiple clickable markers

2010-04-18 Thread DaGoo
Anyone who can spot in a few seconds the error(s) I am making in the following simple code (that does not work at all - only one marker showing up, which is not clickable) ? : // Creating new markers: var marker1 = new GMarker(new GLatLng(56.87, 14.80)) var marker2 = new GMarker(new GLatLng(56.