Yes, you can just use the action āAdd markerā as many times as you wish. If you want to do it dynamically, you can pair this plugin with the plugin called āList Shifterā, which allows you to do a client side loop (run a certain workflow X times). Let me know if you want more details!
Great! I ended up doing just that and all good now! Thank you! I see youāve put a lot of effort into the plugin
One more question for you Vini! when you want to add a marker to the map, are there alternative ways, for example, like using maps āclicked locationā or āmapās centre locationā to get the coordinates in order to place a marker, does that make sense?
I was just wondering if it were possible to place a marker on the map at any place I wanted to if I zoomed in, clicked a position for example and thatās where the marker gets placed, whether it always be the centre of the map or at a specific place which was clicked.
Great idea. Thatās not currently implemented, but can be in the future.
Oh yes please! that would be a great addition to have if itās possible Vini. I donāt think thereās any map plugin that exists which allows for this type of functionality, as I think the nearest you get to that is having an overlay icon in the centre of the google extended map and using the mapās centre coordinates to drop the marker.
Iād quite happily contribute a donation for your efforts. Iām sure I wouldnāt be the only one grateful for it
This plugin has massive potential⦠getting a workflow fired too when a map marker is clicked would also be awesome.
Hey Vini, so do you think you would/could make the required changes to the plugin so that we could do the following 2 thingsā¦
- Get mapās centre location OR clicked location (coordinates) somehow.
- Enable a workflow to be run when a map marker is clicked.
Hello again! Yes, these are possible to be implemented. (:
Hi Iām having an issue.
Iām really not sure what Iām doing wrong. Iāve been messing with this for a couple hours now and cant figure it out.
Now Iāve stopped getting that error but without fail it always only creates a route in a place in europe. its always the same place and never changes.
Can you share with me the workflow? Specifically the action that prepares the request and the action that draws it.
Edit: Or a view link to your app via a private message.
Nonetheless, I suspect that youāre using the example data input on the actions instead of your actual data, because that route in Europe was the one I used in testing and in the example. I can check if thatās the case.
Hi Vini,
In the support docs for the Routing API data being returned, as shown in the following link:
Do you know what metrics the time and length are measured in? is it minutes for (time) and (kilometres) for length do you think?
I gotta figure out a kilometres to miles conversion, format the times correctly and ideally get mph instead of kph for speed.
Great question. I havenāt really worked with that yet, but you seem to be correct about the units.
In case youāre curious, that Stadia API is a Valhalla server, and you can see Valhallaās documentation here: https://valhalla.readthedocs.io/
Yeh I had spotted that, Iāll have a good read through the docs and other sources on the internet and eventually figure it out. Thanks very much
Just reading through some of the comments on this page and came across this.
That comment field for a marker supports HTML, so you get some control over it.
You could enter something like this:
<a href="https://www.computerhope.com/jargon/m/example.mp3" target="_blank">Click to play me!</a>
If you donāt want it to open up in new tab then change it to this:
<a href="https://www.computerhope.com/jargon/m/example.mp3">Click to play me!</a>
If you want a nice HTML5 audio control to appear, then do this!
<audio controls width="100" height="100"> <source src="https://d1490khl9dq1ow.cloudfront.net/sfx/mp3preview/crowd-cheer-clap-scream_fJkt-OV_.mp3" type="audio/mp3"> </audio>
For everything else, Google is your friend!
Great finding! We could show a video at the marker popup then, or even an entire website!
Hi Vini. Is there a way to automatically zoom out the map (i am using Mapbox) to see all other markers centered around the userās current position? thanks a lot.
You can set the zoom level via workflow action to any dynamic number you want. Then you can pan the map to any position of the map, for example the userās current position. You can grab the userās current position via locate action.
Would that be what you want to create?
Thanks a lot Vini. I was looking for something like : Set Desired Zoom level to show the 5 nearest markers around the userās current position. How would you do that? thanks a lot.
Yes!
Draw a transparent line using those 5 markers then use the action āZoom to lineā, see if it does what you seek
In order to draw that line, youāll have to create two lists, one with the markersā latitudes and the other with their longitudes, feed that to the line action, then at the lineās color picker slide the transparency level to make it invisible (100%).
thank you @vini_brito !
Could I build something like Hoodmaps with this? Basically overlaying community driven data on a map.