Many of the Google Maps you see embedded on web pages are accompanied by a list of the items that are plotted on the map - sometimes referred to as a sidebar. Often, the items in the sidebar are links that enable the user to see where that item is located.
In this section, we're going to add a sidebar to the page we built in the previous section that read and plotted points stored in an JSON . This sidebar will list the names of the candidate cities as links that open their associated info windows when clicked.
0 comments:
Post a Comment