Google maps

Posted on 2013-01-22
Medium Priority
Last Modified: 2013-01-29
Is it possible to display and pull in content for a pin depending on when/if a marker is clicked or does all the information have to be on the page when the page is loaded?

We're thinking of have a number of different layers - each containing a number of pins that the user can scroll through so this could end up being quite heavy if all the data has be loaded initially rather than pulled in when a marker is clicked

Question by:Al4ddin2
1 Comment
LVL 15

Accepted Solution

Ess Kay earned 2000 total points
ID: 38806725
with the api, you are actually the one who provides the api data to google to create the pin and the functions and looks of each pin

you can use ajax with an array for each layer, THEN RELOAD THE MAP  via ajax after the user requests a different layer.

this will not reload the page, only the map

hope that helps

Featured Post

Easily Design & Build Your Next Website

Squarespace’s all-in-one platform gives you everything you need to express yourself creatively online, whether it is with a domain, website, or online store. Get started with your free trial today, and when ready, take 10% off your first purchase with offer code 'EXPERTS'.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Boost your ability to deliver ambitious and competitive web apps by choosing the right JavaScript framework to best suit your project’s needs.
Finding original email is quite difficult due to their duplicates. From this article, you will come to know why multiple duplicates of same emails appear and how to delete duplicate emails from Outlook securely and instantly while vital emails remai…
In this tutorial viewers will learn how to style a corner ribbon overlay for an image using CSS Create a new class by typing ".Ribbon":  Define the class' "display:" as "inline-block": Define its "position:" as "relative": Define its "overflow:" as …
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.

587 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question