Both of these pages are prototypes and are still under development,
but I've posted them on a personal web site:
The API v2 version is at http://dashboard.nfshost.com/traffic-map.htm
The API v3 version that's getting the error is at
http://dashboard.nfshost.com/traffic-v3.htm
I'm not sure if this error due to something that I've converted
incorrectly, or if it's an error in the markermanager.js code, so I'm
humbly posting it for some help and advice.
Thank you in advance for your time.
Keith
--
You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group.
To post to this group, send email to google-map...@googlegroups.com.
To unsubscribe from this group, send email to google-maps-js-a...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en.
Is there another URL that I can use to reference "markermanager.js" in
the <script> tag, or do I need to download the "markermanager.js" file
to my server and reference it from there? Which is the recommended
best practice?
Keith
On May 26, 9:59 am, Miguel Angel Vilela <mig...@google.com> wrote:
> There is a different version of markermanager.js for the V3 API, here:
>
> http://code.google.com/p/google-maps-utility-library-v3/source/browse...<http://code.google.com/p/google-maps-utility-library-v3/source/browse...>
>
> getProjection is a valid method for the Map class in V3, but the library
> also uses getCurrentMapType which is not.
> If you look at the link above, it doesn't even use getProjection, so my
> guess is that you are using the old version of markermanager.js which only
> works with the V2 API.
>
> Cheers,
> Miguel
>
>
>
> On Wed, May 26, 2010 at 16:13, bkjanes <bkja...@gmail.com> wrote:
> > I'm not sure if this is the right forum, but I'm having trouble
> > porting some API v2 code to v3 using the Google Maps Utility Library's
> > markermanager.js library. After the script calls the addMarker method,
> > a JavaScript error is reported in line 958 of markermanager.js stating
> > "this.getProjection() is undefined".
>
> > Both of these pages are prototypes and are still under development,
> > but I've posted them on a personal web site:
>
> > The API v2 version is athttp://dashboard.nfshost.com/traffic-map.htm
>
> > The API v3 version that's getting the error is at
> >http://dashboard.nfshost.com/traffic-v3.htm
>
> > I'm not sure if this error due to something that I've converted
> > incorrectly, or if it's an error in the markermanager.js code, so I'm
> > humbly posting it for some help and advice.
>
> > Thank you in advance for your time.
>
> > Keith
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Google Maps JavaScript API v3" group.
> > To post to this group, send email to
> > google-map...@googlegroups.com.
> > To unsubscribe from this group, send email to
> > google-maps-js-a...@googlegroups.com<google-maps-js-api-v3%2Bunsub...@googlegroups.com>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/google-maps-js-api-v3?hl=en.- Hide quoted text -
>
> - Show quoted text -
To unsubscribe from this group, send email to google-maps-js-a...@googlegroups.com.