Zh GoogleMap Troubleshooting: Difference between revisions

From Documentation
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 70: Line 70:


See: [[Zh_GoogleMap_Description#CompatibilityModeRSFAnchor|Compatibility Mode for Resource Files]]
See: [[Zh_GoogleMap_Description#CompatibilityModeRSFAnchor|Compatibility Mode for Resource Files]]
== OVER_QUERY_LIMIT message when displaying map ==
When you show map, there is message about error OVER_QUERY_LIMIT appears, and not all placemarks is displayed.
It is caused by google restriction for geocoding. Ie you define placemarks by text address. When map is creating, all this addresses need to geocode into latitude and longitude. And for decrease geocoding service loading google restrict query count in one time.
To fix this problem in component you should go to placemark details. When you open detail page you'll see your placemark in map. Just move it a little, and you fill latitude and longitude fields.
After that there is no need to use geocoder, placemarks will be created immediately without any restriction. And more quickly, because there is no time to geocoding address.





Revision as of 21:19, 23 January 2012

Error: link.hasClass is not a function

See: Compatibility Mode


Placemark Title is too big

This problem caused by template styles.

My template is working well, therefore I correct it to show this situation :)


To fix this problem we will be use Firebug for FireFox.

Install Firebug for Firefox, call Firefox and open your map on site.
Open your placemark infowin
Press Ctrl+Shift+C
You’ll see firebug window with styles

Move your mouse to header of placemark (it highlight). If needed press again and select your header.

And you can see all styles in list with values on right

Find the current style for h1

For example, I’ve got this (for my template)

#jsn-master.jsn-textstyle-personal.jsn-specialfont h1


Now add into template css file new line, that override this style

#jsn-master.jsn-textstyle-personal.jsn-specialfont h1.placemarkHead {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.4em;
}


It is only example.

You can see, I’ve add class .placemarkHead to h1

And now placemark header is changed


Login screen when map is displaying

When you show map, unexpected appears login screen.

See: Compatibility Mode for Resource Files



OVER_QUERY_LIMIT message when displaying map

When you show map, there is message about error OVER_QUERY_LIMIT appears, and not all placemarks is displayed.

It is caused by google restriction for geocoding. Ie you define placemarks by text address. When map is creating, all this addresses need to geocode into latitude and longitude. And for decrease geocoding service loading google restrict query count in one time.

To fix this problem in component you should go to placemark details. When you open detail page you'll see your placemark in map. Just move it a little, and you fill latitude and longitude fields.

After that there is no need to use geocoder, placemarks will be created immediately without any restriction. And more quickly, because there is no time to geocoding address.




Language: [[::Zh GoogleMap Troubleshooting|English]]  • [[::Zh GoogleMap Troubleshooting/ru|русский]]