On Jul 13, 5:51 am, Elaine Marley <[email protected]> wrote:
> I have a few issues with my map here:
>
> http://www.crearuta.com/crearuta/crearuta.php?id=16
>
> What I tried to do here is get rid of the default markers and add my
> own. I hid the default ones and created new ones for this. Later on I
> wanted to also change the html inside the bubbles but that leads us to
> the...
>
> First issue: The tooltips/bubbles won't appear on clicking the
> markers. Firebug shows "a is undefined" error.
Where do you define "html" that is passed into the createMarker
function?
function createMarker(point,html,i) {
>
> Second issue: I linked you a version of the map with many markers and
> I sometimes get the [G_GEO_TOO_MANY_QUERIES] error (you'll likely see
> the alert for that). That's probably because of how I hid the markers
> and add the new ones?
That is because you are exceeding the quota or rate limit on the
directions service (or at least that is what the message says).
There is a quota on the directions service (to prevent abuse).
Why do you need to display so many routes at one time?
Can you use waypoints and reduce the number of calls to the directions
service?
-- Larry
> My code is probably a mess, I did this without
> much knowledge of the google maps api.
>
> Any advice on how I can improve my map will be more than welcome as
> I'm learning as I go.
--
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 [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.