google-maps

Google Maps API: positioning, some weird behavior and how to disable a couple of features

I've been working on creating this map for a client, but I feel a little bit in over my head. So far, I've managed to use modx to dynamically create a list of markers for the map, created a custom icon that works successfully and I've got it styled as I'd like it. However, I'm looking for a bit of help about the following: The custom ...

How to print Google Map markers

I am using Google Map Version 3 API to add markers on Google Map. The problem is that, markers show up on browsers. but when users print the map through browser's print command, nothing shows up. The question is, - How can I display markers on printed materials? - Comparisons: On the browser - markers are clearly visible After...

Draw round-corner box

Hi, In my application I have a map, this map has a lot of annotations... but sometimes no location is found for an annotation (server couldn't find lat/lon). When this happens, I would like to draw a little box on my map with the text "Some locations could not be found" (or similar). I want this box to have round corners and to be trans...

iPhone MKMapView annotations observers selectable once

Hi, I have different custom map annotations on my MKMapView, and when creating the custom view I add an observer and disable the default popup. At the top of MapViewController.m: static NSString* const ANNOTATION_SELECTED_DESELECTED = @"annotationSelectedOrDeselected"; - (MKAnnotationView *)mapView:(MKMapView *)mapView viewForAnnotat...

BlackBerry Maps and Location App

I have looked extensively for a solution all over the Internet What I need is a map in a field within my application in Blackberry 8310 (I don't mind if the solution comes from using OS 5.0+). I can get a static map in there using a browser field or invoke Google Maps Application But thats not what I want. For 1, I cannot use static ...

Does google maps in android allow any integration? Say long press on a point, or click an address.

I know you can embed the google maps view in an android activity, but is it possible to plug anything into the actual google maps app. say if somebody clicked on a result in the map, and instead of the standard screen show a list of options, like when you share an image. Like "tag this". Something like that. I can't seem to find any ...

How to add Custom marker icon to Google Map?

Hello, I am using this extension of joomla for google map http://extensions.joomla.org/extensions ... /maps/5248. But unable to change the placemark icon everytime when I add new marker. I want the functionality like My map in google for the placemark. Can anyone know how to do it with this extention or any alternative for this? Than...

Google Maps API map doesn't appear

I can't get my map to appear when I'm using the Google Maps API. I am trying to build an application, and it won't work there, but it is also broken in this testing page I've made. Does anyone know what it is that I'm doing wrong? <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-tran...

How can I use a wrap a TabHost containing a MapView that also displays an AdMob view below it?

I'm very new to Android (like 2 days), but I'm experienced with other layout toolkits. I'm trying to put an AdView below a TabHost, and it seems that I can either get the TabWidget or the AdView to display correctly, but never both. First, here's an ASCII art version of what I'm trying to accomplish: ----------------------------------...

Location based search on Android

I'm trying to create an Android app that searches for a certain type of business near the user's current location. I found the Google Places API, but it doesn't look like you can specify what type of place you want to search for. They also say you're not allowed to filer the results, so I can't even just filter out the ones i'm actually ...

Google Maps Data API - Upload KML / Replace Map Content

I am attempting to create an application that will allow a small group of users to subscribe" to a KML feed we produce. The users want to view the KML using Google Earth on their mobile devices which does not support "network links" (please add this...). The KML contains several hundred different place marks with related information a...

Why can't Google Maps static API handle my encoded URIs?

I'm trying to integrate some Google maps bits into my Java web app using the Google Maps static API. For the moment I'm just trying to get a map, any map. Their example: http://maps.google.com/maps/api/staticmap?center=40.714728,-73.998672&amp;zoom=12&amp;size=400x400&amp;sensor=false works fine from my browser. However the Java HT...

Google Maps Data API - Uploading KML = BAD REQUEST

I'm trying to upload a KML document to "My Maps" using the Google maps data API. Am am able to get logged and and get a authorization token and execute a few other commands just fine (using the HTTP protocol) but when I try and create a new map by uploading KML (by following the documentation exactly) I always get 400 BAD REQUEST. Is t...

Problem with geocoding address

I have the following code to geocode the entered address but it displays error saying that variables is undefined ,permission is denied can anyone help to tackle this problem . <script src="jquery-1.3.2.min.js" type="text/javascript"></script> <script type="text/javascript" src="json2.js"></script> <script type="text/javascript" src="ht...

Dynamic Google Direction problem

In my site I am trying to generate dynamic google map direction. The destination is dynamic. All I am doing is: Here, {$map_code} is generated by me. This works fine. I am trying this above code to be appeared by jquery ajax within a div. where the locations are generated and also the script code. but problem is that, when ajax is wri...

how to show multi color map overlays or pins in android on google map?

friends, right now i am showing list of map overlays on google map using following code mapOverlays = mapView.getOverlays(); drawable = this.getResources().getDrawable(R.drawable.balloon); itemizedOverlay = new MarkerItemizedOverlay(drawable,this); GeoPoint point; OverlayItem overlayitem; for ...

color road color google map kml

Hi , I have uploaded kml on maps using javascript. I want to change color of road. I dont want to draw ployline between two points. I want to change color of road. Is that possible ? How? Thanks ...

Removing GPolylines using google maps

I have a point where a Gpolyline line is drawn from a marker to another point. After I click on it a second time, I want to remove the polyline. How do I remove the line after clicking on the marker a second time? My pseudo-code is as follows: google.maps.event.addListener(markersArray[0], 'click', function() { 'draw line to po...

Showing the Google Maps reticle on Android

I'v encountered a problem with Google Maps on Android. In my app I have a location-chooser where the user navigates to his desired location to save the exact street location. In order for the user to actually see what street he is no (and not just the general area) I need to mark the middle of the map clearly. The problem is that the re...

HTML5 Geolocation is so slow! what I'm doing wrong?

this is my simple code I'm using in a test page: but it takes ages to find the address...how come? am i doing something wrong? <script src="http://maps.google.com/maps?hl=it&amp;amp;file=api&amp;amp;v=2&amp;amp;sensor=true&amp;amp;key=*xxxxxx*" type="text/javascript"></script> <script type="text/javascript"> var map; var geocode...