| Issue 4543: | Bug: v3.10 doesn't work with markermanager library | |
| 16 people starred this issue and may be notified of changes. | Back to list |
The markermanager library doesn't appear to work with API v3.10 in Chrome or IE9 (works in IE8). Symptom is that that it's not possible to scroll or zoom the map. Test URL here http://www.gavinsayce.co.uk/test/test-map-mm.html Error message in the console: Uncaught TypeError: Cannot call method 'substr' of undefined main.js:25 Markermanager library: http://google-maps-utility-library-v3.googlecode.com/svn/tags/markermanager/1.0/
Nov 21, 2012
Hi I'm getting an error like this in that page
Error in Mozilla:
TypeError: a is undefined
[Break On This Error]
...Jf={};function Gf(a){return Jf[a]||(Jf[a]=a[Cb](0,1).toUpperCase()+a[Cb](1))}fun...
http://www.coral.ru/pages/agencies.aspx?r=0&departure=2671
js file
http://maps.gstatic.com/intl/en_us/mapfiles/api-3/10/15a/main.js
Nov 21, 2012
Issue 4585 has been merged into this issue.
Nov 21, 2012
(No comment was entered for this change.)
Nov 21, 2012
Issue 4585 has been merged into this issue.
Nov 21, 2012
(No comment was entered for this change.)
Status:
Fixed
Nov 21, 2012
Issue 4585 still persists ?
Nov 21, 2012
It should have been fixed. See r402, r403: https://code.google.com/p/google-maps-utility-library-v3/source/list
Nov 21, 2012
OK Thanks!
Nov 21, 2012
Issue 4585 has been merged into this issue.
Nov 21, 2012
Issue 4585 has been merged into this issue.
Nov 21, 2012
Issue 4585 has been merged into this issue.
Nov 22, 2012
Issue 4592 has been merged into this issue. |
|
| ► Sign in to add a comment |
Hi - I've found a workaround in the markermanager library: Change this line: if (typeof map.mapTypes.get(sType) === 'object' && typeof map.mapTypes.get(sType).maxZoom === 'number') { to if (sType!="constructor" && typeof map.mapTypes.get(sType) === 'object' && typeof map.mapTypes.get(sType).maxZoom === 'number') { Something is blowing up around this code because of the constructor.