Limited amount of map markers?

While recreating a google map that was build using the “Classic Google Map”-element in an older version of X/Pro I’ve hit a limit of 100 map markers with the “new” Map-element. The classic element had no problem with the 134 map markers I’ve added there. Is there a way to raise the limit somehow?

Hello @mircotripoczky,

Thanks for writing in!

It’s a possibility to hit the upper limit on number of maps marker, which in turn depends on information that’s being passed through the URL. I suggest you to take a look at following thread in Stackoverflow to get more information:

Thanks.

According to the thread you mention it should be possible to have more than 100 markers.

So I did some testing.

  • imported the classic google map from an old version of the page and it shows/load all 134 markers, but does not allow to add more markers.
  • created a new map using the classic google map and it also only allows me to have 100 markers… same as the “new” map element.

Since I was using the same API-Key which includes Directions API, Maps JavaScript API, Maps Embed API and Places API (also using it for a route/fare planing plugin I made on another page of the same website) for both maps I decided to create a new one (only with Maps JavaScript API) just for the new map but no change of the limit… no matter if using the classic or new map element.

So it seems, that google changed the rules (again)?

PS: I’ve just checked the Map loads per 100 seconds per user at our google API dashboard… and it shows “100”. Going to try to raise this and see if more markers can be added afterwards.

Hi @mircotripoczky,

Maybe your Google Map usage is already over your quota. On their (Google) site they said:

different limits apply to client-side APIs. Maps JavaScript API are rate limited per map session, so that requests are distributed across users

You can read more about this here.

Thanks,

I’m not getting an “OVER_QUERY_LIMIT” result nor does it show as an error at the google maps dashboard. Also when I create many map on one page, each only allows to add only 100 map markers.

It really seems to be a limitation of cornerstone, but not just with map markers, but also with accordion item (also at the classic accordion element) - not that someone really needs 100 accordion items or more :smiley:

And if I remove the 100th item (map or accordion) it let me add a new item, but just one to make the 100 full again.

PS: Also the classic icon list items are limited to 100.

Hi @mircotripoczky,

Thank you for the clarification, yes those elements are not designed to hold 100+ items, I’ve added this as a feature request so it can be taken into consideration for future development.

For now, I advise using a plugin that can hold 100+ markers instead.

https://wordpress.org/plugins/search/google+map+multi+marker/

Cheers!

Thanks for the suggestion. If I need to make a new map with more markers I’m going to look at these plugins. I’ll stick to the old template with the working 134 markers.

This limitation must have been added with some update of Pro, but can’t say which… last time I updated that map on an older version of the site was in October 2017 :slight_smile:

Hello @mircotripoczky,

You’re always welcome and the request has been added. This is the default ever since. Known changes are stated on the changelog.

Hi @mircotripoczky,

I just wanted to chime in here and let you know that there is no set limit on markers. The query limit you’re probably hitting is the size of the AJAX request sent to the server to render that map. It increases slightly with each marker you add.

You could talk to your webhost to see if they can increase the available resources. Although with that number of markers I think it would probably be better to start exploring custom development options or a dedicated plugin like Friech suggested.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.