Ah sorry, It may be not suitable question for this thread.
I wanted to set requirement that decimal numbers to lat and lng.
(it is not alphabet, symbol)
For example,

$lng = $_GET['lng'];
if(preg_match("/\d+\.\d+/", $lng))....???

I'll study PHP and try to resolve it. Thank you.

On 12月1日, 午前10:41, "[email protected]" <[email protected]>
wrote:

> Seems like a php question.
> Latitudes are numbers between -90 and +90 (only ~-85 to ~+85 work on
> the mercator projection used on the normal google maps)
> Longitudes are numbers between -180 and +180 but they can be aliased
> to multiples of 360 if you want to...
>
> Is that what you are looking for?
>
>   -- Larry

--

You received this message because you are subscribed to the Google Groups 
"Google Maps API" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-maps-api?hl=en.


Reply via email to