Can I see your editor? something is different, need to understand where the difference is to be able to fix it.
Do you have this setup on a test page inisde your app? Maybe PM a link to your editor and I’ll jump in and take a look.
Can I see your editor? something is different, need to understand where the difference is to be able to fix it.
Do you have this setup on a test page inisde your app? Maybe PM a link to your editor and I’ll jump in and take a look.
Sure, never done this before. Do I need to set it to changes settings in the privacy and security tab? or grant you access somehow? Also how do I send yo you a direct message with the link without everyone one on the forum being able to see. Complete newb over here
Hey @pork1977gm I’m running into this error when trying to draw a custom shape.
What I’m doing is loading up a shape (in this case a zip code) and then using the drawing settings to draw a smaller section of the zip code I loaded. Then I double click the new shape I drew to save it to the db as a record with the coordinates in a text field. Then i have a button to redraw the shape I just saved. If I do these steps it throws the error message BUT if I close out the page and reopen and then click the button to redraw the custom shape it works so seems like something is conflicting if I try to do it all in one shot but I can’t figure out what. Any ideas?
Ive scoured this forum but I still haven’t found an answer to this one, maybe i’m missing something. Current Setup: I have a map, the user can define polygons on the map using the drawing tools. The users will have multiple polygons that define zones on the map. I have figured out how to save multiple zones to the DB, I am currently trying to figure out how to let the user edit these zones. For this to work I believe I would need to have a set list of polygon coordinates action or something to that effect. I have not been able to find it or create any sort of work around. Anyone have a solution to make changes to a list of polygons?
Do you have any videos i can watch to try to set this up. Thanks heaps again, the plugin looks amazing and documentation is great!
Hello Paul,
Can you advise if it’s possible to take a screenshot of the map? Specifically, I’m looking to capture images of the map after I’ve drawn polygons on it. This approach would allow me to save these images for display, which seems like a more efficient method than using the live map with the polygons to present the information.
Best regards,
Marcos
Hi @condocrm
You can’t do that in the plugin I’m afraid, but I think there’s an HTML to Image plugin out there somewhere which may allow you to assign an attributeID to the map plugin element and capture it. It’s worth a try although I suspect it may not capture markers/shapes.
Paul
Hey Paul,
Thank you for responding! Right after I sent my message I tried a screen capture plugin and it works.
I have another question, I’ve encountered an issue where using multiple maps on a single page leads to a problem: whenever I use drawing tools on one map, the other map the drawing tools ceases to function (the shapes don’t show up but their are there). Is this a known issue, and do you have any suggestions on how to resolve it?
Oh that’s interesting, not something I’ve spotted before but I’ll see if I can replicate that. I’m pretty swamped with work at the moment but as soon as I’ve tested it, I’ll let you know. It’s on the “to-do” list.
Paul,
For my final question, I’d like to know if it’s feasible to obtain a list of geographic addresses located within a specific shape by querying the Google API?
Paul,
Regarding my question about two maps and the issue with drawing tools, I was able to fix it. I had to add a condition for “loading libraries no”. No need to look for a solution. Thank you!
Hey Paul,
I can now confirm that shapes can be captured but not markers.
Best regards,
Marcos
Hi,
When you say “querying the Google API” you do mean of a way to do it inside the plugin right? and not by running some external API call to Google?
You can do it inside the plugin if you run the Contains Location action. In there, you’re able to provide a list of markers (either using their geographical address or latitude/longitude values) and then provide the coordinates that make up a “polygon”.
The other way to kind of do it, is if you’re running the Set list of markers action, there’s actually a shape coordinates field in there. By passing the coordinates, only markers inside that shape will be plotted, the rest get filtered out.
Paul
Hey @pork1977gm
Great plugin,
just thought I’d let you know that the shape has been removed event does not work when you delete a shape on the map.
It would be great if this could be fixed
Oh ok thank you for letting me know, I’ll take a look and get that fixed.
When you tried it, were you using the ‘Remove marker/shape’ action to remove the shape?
I noticed the event wasn’t tied into the ‘delete’ button which appears in the drawing tools panel, so I’ve now got that working and pushed an update. If that was your problem, you should be good if you now update. If not, just let us know.
Regards,
Paul
Awesome thank you for the quick fix. Look forward to checking it out
For me the issue was when I tried to deleted the shapes on the map with the color palette delete button.
@pork1977gm Hey Paul, is there a functions to delete one of the points of a polygon when a user is creating the polygon on the map. For example if a user was to draw a shape and accidentally add too many points, nodes, vertices ( whatever you want to call them), is there a function where they could select one of the nodes of the shape and delete it? Ive found that when drawing polygons in testing sometimes I accidentally create nodes and it would be nice to be able to delete these accidental points.
Hi @dancoburn89
Well, I know after the shape has been drawn, you can move the vertices if the shape is editable and Google give us a little undo button there. But, if you’re in the middle of the drawing the shape and you plot a point by mistake, there’s currently no native way that I know of where you can remove the last point added.
I know as the points are plotted, it’s possible to keep track of them so theoretically I could maybe tie in a right click of the mouse to remove the last point but it’s not something I’ve tried yet.
Have you looked around on the internet to see if anyone else has accomplished this? you may find some demo somewhere where someone has done it. If you do manage to find any examples then by all means send the link my way and I’ll take a look at the code and consider adding the functionality into the plugin.
If there is a way, it may not be too user friendly on mobile devices.
Paul