Skip Navigation

[Closed] Creating a Map View that shows CPTs by their address and totals by state

The Toolset Community Forum is closed, for technical support questions, please head on to our Toolset Professional Support (for paid clients), with any pre-sale or admin question please contact us here.
This support ticket is created 9 years, 6 months ago. There's a good chance that you are reading advice that it now obsolete.
This is the community support forum for Types plugin, which is part of Toolset. Toolset is a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients and people who registered for Types community support can post in it.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 19:00 10:00 – 19:00 10:00 – 19:00 10:00 – 19:00 10:00 – 19:00 -
- - - - - - -

Supporter timezone: Europe/Madrid (GMT+01:00)

This topic contains 1 reply, has 2 voices.

Last updated by Caridad 9 years, 6 months ago.

Assisted by: Caridad.

Author
Posts
#253742
PAS Attendance.png

I have a Custom Post type that lists events, inlcuding their City and State. I am trying to add a Google Map integration to display CPT posts, which seems like it shouldn't be hard. I'm not adding latitude and longitude, but the flags could be localized more generally to the city/state. That's the first hurdle.

The second, is that I would like to be able to color-code the Google map by number of events, as in the screen cap. Does anyone have any suggestions as to how I might do this. OR even if Google Maps' API is capable of this sort of thing?

Thanks.

#253968

Google have some Map Charts that can help you with what you want:
hidden link

These maps accept javascript arrays with the data.
You can build these arrays with a View, but it takes a bit of custom code to glue it all together, for example in a custom template in your theme.

Please let me know if you are satisfied with my reply and any other questions you may have.

Regards,
Caridad

The topic ‘[Closed] Creating a Map View that shows CPTs by their address and totals by state’ is closed to new replies.