You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
We've been developing a site for a client who needed one map with a lot of offshore location markers (like in the middle of the ocean).
So we have multiple entries, each with a map field with the address hidden, and pull only the lat and lng values from the map field and use with mapbox.js on one page.
We noticed a heavy performance hit once they started populating the entries. Even at only 4 entries getting the lat/lng values add about a 1 second extra loading time (with caching disabled), and they need about 30 items.
I finally realized that it's solved by enabling the address field again and inputting random data to the address fields.
Would be great to not have to ask the client to input nonsense to avoid this issue:):)
Craft 4.5.4
Maps 4.0.4
The text was updated successfully, but these errors were encountered:
Hi,
We've been developing a site for a client who needed one map with a lot of offshore location markers (like in the middle of the ocean).
So we have multiple entries, each with a map field with the address hidden, and pull only the lat and lng values from the map field and use with mapbox.js on one page.
We noticed a heavy performance hit once they started populating the entries. Even at only 4 entries getting the lat/lng values add about a 1 second extra loading time (with caching disabled), and they need about 30 items.
I finally realized that it's solved by enabling the address field again and inputting random data to the address fields.
Would be great to not have to ask the client to input nonsense to avoid this issue:):)
Craft 4.5.4
Maps 4.0.4
The text was updated successfully, but these errors were encountered: