Google Maps Directive

832 views
Skip to first unread message

Nolan Dubeau

unread,
May 3, 2012, 6:18:51 PM5/3/12
to ang...@googlegroups.com
Hi folks,

I started work on a simple Google Maps directive, but am encountering a JS error which I think is related to Google.  Here is the fiddle:


The error is:  Uncaught TypeError: Cannot set property 'position' of undefined


Any ideas?

Thanks.

Nolan

Nolan Dubeau

unread,
May 5, 2012, 11:40:11 AM5/5/12
to ang...@googlegroups.com
Hi again,

I've been reading through the docs lately and was able to get this working.  i plan on expanding this further to support many of the Google Maps events and marker operations.


Thanks!

Nolan

Andy Joslin

unread,
May 5, 2012, 12:39:22 PM5/5/12
to ang...@googlegroups.com
Nice, Nolan.  This looks good.

Nolan Dubeau

unread,
Jun 28, 2012, 3:39:23 PM6/28/12
to ang...@googlegroups.com
Hey Dinesh,

This looks good.  I can't comment really on the "soundness" of the directive since I'm still getting comfortable with directives myself.  At first glance it seems to make sense.  Good work!

Nolan

On Thursday, 28 June 2012 15:08:09 UTC-4, Dinesh Copoosamy wrote:
Hi

Thanks - I have been using this fiddle to learn and understand directives.

here is an updated one that allows you to set map values as attributes and works for multiple maps.

(would appreciate any comments/suggestions)

Dinesh
Reply all
Reply to author
Forward
0 new messages