Solved

Google maps

Posted on 2013-01-22
1
142 Views
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

Thanks
0
Comment
Question by:Al4ddin2
1 Comment
 
LVL 15

Accepted Solution

by:
Ess Kay earned 500 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
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Output to HTML in powershell 3 27
Media Queries  not Firing 6 19
How  can  I extract  Id  from a  URL  using  Javascript? 12 30
really easy css change help please 4 19
Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
Boost your ability to deliver ambitious and competitive web apps by choosing the right JavaScript framework to best suit your project’s needs.
In this tutorial viewers will learn how to position overlapping items using z-index in CSS. They will also learn the restrictions on the z-index property.  Create a new HTML document with an internal stylesheet.: Create a div in CSS and name it Red.…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

830 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