How to access EZMap functions from the DOM?

18 views
Skip to first unread message

Michael DelGrosso

unread,
Jan 11, 2013, 5:30:40 PM1/11/13
to google-...@googlegroups.com

I'm attempting to extend some functionality of this library but can't seem to find the way to access its dynamically loaded functions.  All of its functions are added using the loadfunc() function via the ez_preload() function when the page loads.  

I'd love to access these functions (and variables) specifically the markerForUrl function but can not seem to access them. They're not available in the document or window namespace, nor can I access them through a handle to the DOM element itself.  

How could one access the markers variable or markerForUrl function from the DOM? 

Chouser

unread,
Jan 14, 2013, 9:08:32 AM1/14/13
to google-...@googlegroups.com
The code itself is GPL, so you're welcome to download the .js and make any changes you need to expose whatever variables you want.  Just make sure you abide to the terms of the GPL, for instance by making your changes available to the public also under the GPL.

--Chouser
Reply all
Reply to author
Forward
0 new messages