add markers by user
-
Hi,
I’m fearly new to WordPress (and websites…), so bear with me… π
I have created a simple page in WordPress and added this code to show a map with 1 green marker.
[leaflet-map lat=”51.20877″ lng=”3.22393″ zoom=”12″ height=”800″ width=”100%” min_zoom=”5″ max_zoom=”18″ zoomcontrol scrollwheel]
[leaflet-marker svg background=”#008000″ iconClass=”dashicons dashicons-star-filled” color=”white” lat=51.208768800134266 lng=3.223923841701351]I want to let visitors add more markers and store them in a database.
I now that this is not a simple question but could someone sheld some light on this
or direct me to some examples, probably one or more different so I can mix them together… I’m not looking for the code becayse I want to learn and do it myself but to have at least some jumpstart…some hurdles I need to take:
– user click on the map and retrieve locations (lat lng)
– store this in a database with a unique identifier and timestamp (so I can deleted undesirable markers…)
– show them on the map, and show the unique identifier when clicked on it.Kind regards
sorry no online website available yet…
version Bitnami WordPress Stack 5.2.2
The topic ‘add markers by user’ is closed to new replies.