Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript Help with Google Maps API v3

  • This topic is empty.
Viewing 1 post (of 1 total)
  • Author
    Posts
  • #158203
    TWG
    Participant

    I’ve successfully implemented a Google Maps API that pulls markers from a database and shows them on the map (I followed this example).

    I’m now wanting to add the ability to load points that belong to a specific “type” from the database. I’m not sure how to modify the existing Google code to accomplish this. Say I have 3 categories: food, events, and landmarks. If a user click the button for landmarks, I only want the points with the “type” landmark to show up.

    I would like to do this without having to reload the map over and over. I just want the points to show up based on what’s clicked.

Viewing 1 post (of 1 total)
  • The forum ‘JavaScript’ is closed to new topics and replies.