Restrict Markers to A Shape/Polygon/Rectangle

New home Forums Visitor Generated Markers Restrict Markers to A Shape/Polygon/Rectangle

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #73214
    jdthat
    Participant

    Hello,

    If I were to create a polygon or upload one onto a map. What would I need to do to restrict markers/only allow markers to be placed only within that polygon or area?

    Your help is greatly appreciated as always!

    #73230
    Matthew
    Moderator

    Hi there,

    Thank you for getting in touch with us, we do appreciate your time.

    If I understand correctly, you would like to import markers within your polygon.

    You will need to ensure that your address/coordinates for those markers are within the area that your polygon covers.

    I hope this answers your question?

    Kindest Regards,
    Matthew

    #73234
    jdthat
    Participant

    Hi, Matthew.

    Not quite. I’m wanting to achieve marker placement by a visitor to be only within a set boundary.

    So if on the map, a 15-kilometer circle was placed by me, I would only want the user to be able to place markers within that circle. If they tried to place a marker outside of the circle, they would be unable to.

    Thanks for your help!

    #73235
    Matthew
    Moderator

    Hi again,

    Thank you for the elaboration regarding this, unfortunately this is not possible as the respective user-entered location would need to be geocoded and then the circle radius would need to be geocoded to work out the coordinates that are allowed within the circle, and then check if the user-entered location is within the circle coordinate perimeter.

    I hope this answers your question?

    Kindest Regards,
    Matthew

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.