Tuesday, April 19, 2011

[Google Maps API v2] Re: Google Map not showing in sub domains

On Apr 19, 3:34 pm, earth <earthtechnol...@gmail.com> wrote:
>
> I have a sub domain likehttp://rupak.turnkeydentist.comwhere i want to
> show the Google Map in pagehttp://rupak.turnkeydentist.com/contactsbut the
> map is not displaying.

It's not a key problem. If it were the key, the API would tell you
with a "You need a different key" message.

The problem is that your address cannot be found, but you have
commented out the alert which would tell you that.

This is not a valid address:
2155 Webster Street<br/>San Francisco, CA, 9115

This is a valid address:
2155 Webster Street, San Francisco, CA, 9115

However, the API can't find that either. A better address is
2155 Webster Street, San Francisco, CA
or you could add the correct zip code of 94115.

The question arises why you are geocoding a known address every time
that page is viewed? Does the office move around much? Surely you know
where it is, and can just put your marker exactly in the right place
on the map? You don't need to use Google's resources every time.
[Hint: store the coordinates as well as the address. Use the
coordinates for the map and the address to show to people]

Something like John's http://maps.huge.info/pinpointaddress.html can
help pinpoint a location.

> Please reply asap as it is very urgent.

http://catb.org/~esr/faqs/smart-questions.html#urgent

--
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-api@googlegroups.com.
To unsubscribe from this group, send email to google-maps-api+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-maps-api?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate