google-maps

Googe Maps APIv3 - how to overlay multiple markers with diferent png images.

Hi all, I'm currently working on a project which involves plotting lots of custom markers onto a map, then creating a popup page when clicked. This problem i'm having, being a newbie at javascript is getting a second marker image showing on the map. So far, i have the following code, as you see, the 'camera' icons work... but needing the...

Javascript: TypeError: a is undefined - what's wrong?

Hello! I have an array containing several markers for my googlemap. When I try to add this array to my map I get this error. Any ideas why? Here is my code: markers = []; function create_station_marker(position){ if(position != null){ eval(position); var latitude = parseFloat(position.latitude)...

How do I change the height of a container div to fit all dynamic content?

Hi, you can find an example of my problem here: http://la.truxmap.com/truckpage?id=buttermilktruck the text content can be whatever size, from 2 lines, to the multiple paragraphs you see in the example. what i want is for the container with the white background to expand to the bottom of the static google map (this map is generated d...

Geotools google maps java ee web application

Hello all. I'm searching the alternatives for developing a java web application to calculate land values based on some variables with a visual presentation of a map. Since the data that i have is ESRI shapefiles and i want to go open source i ended up with this configuration. Take the shp files with Geotools , transform and store the...

get current location

I'm done creating an android program that adds a marker to a location. But I need to show CURRENT MY LOCATION in the MAP. I know this is done thru location based services but I don't know how to incorporate it into my program Here is my onCreate command public void onCreate(Bundle savedInstanceState) { super.onCreate(save...

Google equivalent to Yahoo Placemaker

Does Google has a service similar to Yahoo! Placemaker: Developers specify structured and unstructured content; feeds, web pages, news, status articles, etc. Placemaker identifies, disambiguates and extracts places Placemaker returns geographic metadata, which determines the whereness of structured and unstructured content ? Thanks ...

Google Map Marker Selection

I have an application which schedules jobs to engineers. The application uses the Google Maps JavaScript API to display markers showing job locations and the number of jobs at that location – see figure 1. What I’d like to be able to do is draw a box around a collection of markers and display the sum of all jobs. How would I draw a bo...

Draw polygon using mouse on google maps

I need to draw polygon using mouse and mark a particular area on Google maps. The purpose is to mark an area on Google maps and then showing hotels and attractions on that area. The user will mark the hotels on Google map while creating them so the db will have their latitude and longitudes. How can I draw the polygon and fill it with ...

Where can I get the UK geo coordinates for locailty / areas?

I'm looking for the coordinates for UK area's, locality, state/province (part of the problem finding them may be that they don't have a definite name). I know that postcode coordinates can be obtained under license, but is this the same for area's (e.g. borough's of London). Surely Royal Mail can't charge for these too? I want to creat...

Closure problem with Listener and Google Maps markers

I want to add a Listener event to each generated marker, so that when you click a marker you are redirected to the permalink url. With the code below the permalink value is the same for every marker(it get's the last value). I've read about closure problems and that seems to be what I'm having. I don't really get the examples I've looked...

How to disable mouse scroll-wheel scaling with Google Maps API

I am using Google Maps API (v3) to draw a few maps on a page. One thing I'd like to do is disable zooming when you scroll the mouse wheel over the map, but I'm unsure how. I have disabled the scaleControl (ie removed the scaling UI element) but this doesn't prevent scrollwheel scaling. Here is part of my function (it's a simple jQuery ...

Google Maps in Drupal: reference to gmap object from JavaScript

Is there a way to obtain JavaScript references to the Google maps that are embedded into Drupal pages by the GMap module? I want to be able to manipulate the maps in these pages. I want to pan and zoom them. But I cannot find a reference to an embedded map object. I've dissected the relevant JavaScript objects Drupal.gmap and Drupal.sett...

Simple Google map distance tool for my site.

Hi There, I'm looking to develop/obtain a simple GMaps app for my site that lets the user plot two points and get the distance between the two. Here is an app that would be perfect for me. http://www.daftlogic.com/projects-google-maps-distance-calculator.htm I suppose "as the crow flies" could suffice but "suggested route" measurement...

Javascript - Pass a value from dropdown box to Google Maps API

I am creating a quote form for a taxi firm using Google Maps API. Currently, the user enters a start point and a pick up point into 2 text boxes and the API calculates the distance between the two points and the cost of the journey. I am trying to add two dropdown boxes with set locations so that the user can either select one of these ...

Google Maps: Traffic on top of Custom Map

I want to add traffic information to my custom map. Currently I'm using a Tile Layer Overlay on my Google Map to display custom map tiles. When I try to add GTrafficOverlay to my map, my custom map tiles display above the traffic information. Is there any way to display the traffic above my GTileLayerOverlay? (Using the JavaScript api) ...

google mashup with state's county map

I wanted to create smth similar to this one Kansas county map where user would be able to click on the county (or even better cities of his/her interest...) and get some info. 1) How would that be possible using google mashups? 2) Is it possible in google mashup to display only one state, for example Kansas only? ...

Google Maps add 2 GEvent Listeners. 1 for each marker.

I have the following code which lets the user plot two points on a Google MAP. I then want to be able to catch the event for each point(marker) being dragged to a new location. I am bad at Javascript and have spent hours trying to do this so I think it's time I get some help.. What I am trying to do is get the user to plot two points(ma...

How can i add multiple marks into Google Map ?

Am working on Google maps and Bing Maps and want to add multiple markers (Overlays) on Maps I Got GMap.js from some where and I dont know how to add using this api. ...

how to get Google Maps API key

I want googlemap for my website, for that purpose get the google maps API key. I go through this url:http://code.google.com/apis/maps/signup.html after that i accept terms & conditions, i gave my site url , after that i click on generateAPI key button but it is showing The requested URL /maps/api_signup?url=urlname was not found on th...

Google maps how to get point of marker being dragged,clicked.

Hi There, I have the following code for my google maps app. What I want to do is be able to click or drag the markers and get the new position (LatLong) of the point(marker). At the moment when I do anything of the sort i get the coords 37.4419, -122.1419 . I am sure this is because it is speicied as the center. How do I get the coords...