This thread is over two years old and may be outdated. Please create a new thread if you need help, or email us if you have an active Premium license.

Drawing on Google Maps Widget

5 years ago · Last reply by Alex S 5 years ago

Hello, I have been trying to work out how to draw custom shapes on a map created with the SiteOrigin Google Maps widget. I’m wondering if anyone has any tips to hook into the existing maps function to draw polygons and polylines using the Google Maps API? Or if there’s another way to do this.

Thanks.

This is our free support forum. Replies can take several days.

Need fast email support? Get SiteOrigin Premium

Replies

2
  1. Craig Rahtz 5 years, 4 months ago

    The only way I was able to work this out was to deregister and dequeue the internal sow.google-map.js script, modify it with my shape drawing, then queue my custom version.

  2. Alex S Staff 5 years, 4 months ago

    Hi Craig,

    Unfortunately, there isn’t currently a way of doing this in an update safe manner. I’ve logged this as a feature request with the rest of the team.

    Kind regards,
    Alex

Replies on this thread are closed.

Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Have a different question or issue?

Start New Thread