-
-
Notifications
You must be signed in to change notification settings - Fork 72
Description
From an email:
Instead of storing the latitude and longitude of all locations in the database, as individual entries in the database,
I would like better if the lat lng were not to be saved in the database and if they could instead to be calculated on the runtime, in the client side, when loading the page.
I sent you a snippet that demonstrates this possibility.
I have hundreds of locations. So there are huge entries saved in the database, more than WordPress and plugins combined.
This could be a new feature, a new attribute which you toggle on or off while generating the shortcode.
" to retrieve the data from database: toggle on or off".
If the short code is ON by default, it maintains current functionality.
If the value is OFF, it is going to calculate the lat and long from "London" in real time, without storing in database while doing so.