• Resolved cag8f

    (@cag8f)


    Hello. I am hoping to display a custom Google Map on one of my pages. The customization I would like it to have is:

    * A custom marker for one particular business location. For example, I would like to replace the standard map marker with a small logo of the business in-question.

    * Remove certain labels on the map.

    * A very simple shape overlay (two line segments to be exact).

    * Possibly a custom color scheme.

    Which of these would I be able to implement in your Lite version, and which (if any) would require the Professional edition?

    From your WordPress page, it sounds like the custom map marker would require the Pro edition, and all else can be done with your Lite version. Is that correct, or am I misunderstanding something?

    Thanks.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Hi @cag8f

    Thank you for getting in touch!

    * Remove certain labels on the map.

    * A very simple shape overlay (two line segments to be exact).

    * Possibly a custom color scheme.

    Our plugin supports all these items through our map editors Themes panel and the Polyline editor.

    * A custom marker for one particular business location. For example, I would like to replace the standard map marker with a small logo of the business in-question.

    Our plugin doesn’t support this. You can see the features our add-ons offer at http://wpgmaps.com.

    Does that help?

    Kind regards
    – Perry

    Thread Starter cag8f

    (@cag8f)

    Hi Perry,

    Thanks for the reply.

    >> Our plugin supports all these items through our map editors Themes panel and the Polyline editor.

    OK thanks for confirming.

    >> Our plugin doesn’t support this. You can see the features our add-ons offer at http://wpgmaps.com.

    So to be clear, you’re saying that the Lite Version does not support this, but the Pro Add On (as described on this page) will allow me to do so. Am I understanding that correctly?

    Hi @cag8f

    This forum is strictly for support with the plugin, we don’t support the paid add-ons here due to the forum policy.

    If you have any questions about our paid add-ons, please can we ask you to open a ticket where we would be happy to help.

    Kind regards
    – Perry

    Thread Starter cag8f

    (@cag8f)

    OK I’ve submitted a ticket there, thanks. While we’re here though, I have one final, related question.

    You said that the lite version of the plugin can allow me to create a custom map with 3 out of my 4 desired features:

    * Remove certain labels on the map.
    * A very simple shape overlay (two line segments to be exact).
    * Possibly a custom color scheme.

    And that the lite version–out of the box–does not allow me to add my fourth desired feature:

    * A custom marker for one particular business location. For example, I would like to replace the standard map marker with a small logo of the business in-question.

    Let’s say that I was proficient enough with Google Maps JavaScript API to create a custom map with this feature (using custom JavaScript). Would I be able to use the lite version of your plugin to create a map with features 1-3, then add my own custom JavaScript code to implement the fourth feature (i.e. the custom map marker) on that same map? That way, with only the lite version of the plugin, I’ll be able to display a map with all four of my desired features.

    Thanks.

    Hi @cag8f

    You can achieve all three of those points with our theme editor and polyline editing features,

    If you want to use JavaScript to set your own custom markers, you firstly need to bind an event listener to init.wpgmza on any ancestral DOM element.

    Once this fires, you can obtain a reference to your map using

    event.target or alternatively WPGMZA.getMapByID(1)

    The resulting object will be an instance of WPGMZA.Map. You can access the markers using the markers array on your map, or by calling getMarkerByID on the map.

    From there you will have obtained an instance of WPGMZA.Marker. The marker will have a reference to an instance of google.maps.Marker in the googleMarker property.

    From there you can follow Google’s own documentation to do whatever you need with the native Google marker.

    Does that help?

    Kind regards
    – Perry

    • This reply was modified 4 years, 8 months ago by perryrylance.
    Thread Starter cag8f

    (@cag8f)

    OK thanks for that. I should have enough info to make my decision now. If I have any specific questions in the future, I’ll open a new issue here.

    Thanks!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Can I create a custom map with these features?’ is closed to new replies.