My favorites | Sign in
Project Home Issues
New issue   Search
for
  Advanced search   Search tips   Subscriptions
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
Status:  Fixed
Owner:  [email protected]
Closed:  Nov 2012


Sign in to add a comment
 
Reported by [email protected], Nov 7, 2012
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 7, 2012
#1 [email protected]
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.
Nov 21, 2012
#2 [email protected]
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
Project Member #3 [email protected]
 Issue 4585  has been merged into this issue.
Nov 21, 2012
Project Member #4 [email protected]
(No comment was entered for this change.)
Status: Confirmed
Owner: [email protected]
Labels: Internal-7595718
Nov 21, 2012
Project Member #5 [email protected]
 Issue 4585  has been merged into this issue.
Nov 21, 2012
#6 [email protected]
(No comment was entered for this change.)
Status: Fixed
Nov 21, 2012
#7 [email protected]
 Issue 4585  still persists ?
Nov 21, 2012
Project Member #8 [email protected]
It should have been fixed. See r402, r403: https://code.google.com/p/google-maps-utility-library-v3/source/list
Nov 21, 2012
#9 [email protected]
OK Thanks!
Nov 21, 2012
#10 [email protected]
 Issue 4585  has been merged into this issue.
Nov 21, 2012
#11 [email protected]
 Issue 4585  has been merged into this issue.
Nov 21, 2012
#12 [email protected]
 Issue 4585  has been merged into this issue.
Nov 22, 2012
Project Member #13 [email protected]
 Issue 4592  has been merged into this issue.
Sign in to add a comment

Powered by Google Project Hosting