I am trying to build a little javascript class for geocoding addresses trough Google Maps API. I am learning Javascript and AJAX and I still can't figure out how can I initialize class variables trough a callback:
// Here is the Location class, it takes an address and
// initialize a GClientGeocoder. this.coord[] is where we'l...
Hello,
I am using the mxmlc to compile the examples from google to get started in using Google Maps API in Flex 4. But after compiling the swf file the map does not load.
I've registered for an API key
Downloaded and included the Maps SDK in the xml config file used at compile time
C:\sdk\flex4\frameworks\flex-config.xml
<external-lib...
i make a demo using v2 , and now i want to using v3..
but i found v3 has not many method that v2 has,
ex:
1.map.enableGoogleBar();
2.map.enableScrollWheelZoom();
3.polyline.enableDrawing()
is v3 powerful enough ???
thanks
...
this is the url:
http://maps.gstatic.com/cat_js/intl/zh-CN_ALL/mapfiles/208a/maps2.api/%7Bmod_drag,mod_ctrapi%7D.js
and i want to read it for study ..
thanks
...
I am trying to display adsense ads on maps, but internet explorer gives me a hard time once again. The ads show on all other browsers I tried (chrome, ff, safari, opeara) but internet explorer. Has anyone encountered this before? here is my code for the admanager:
var publisherID = 'ca-pub-6630823543717184';
var adsManagerOptions = {
...
Does anyone know how to make a map overlayitem draggable so I can press and hold it and drag it across the map. I am trying to duplicate the draggable icon behavior that's available on the iPhone.
One developer suggested a possible solution is to detect a touch event, get rid of the existing overlay item, draw your own copy of the icon...
I want to place markers on the map.
I want to use the standard Google Maps icons for markers.
how do I use them? I don't want to create my own icons.
I'm developing for Android.
in the documentation they tell me to create a class that overrides ItemizedOverlay but in the constructor I'm asked to provide a drawable object.
how do I poin...
hey guys
couple of quick questions
1) In the local search results - we can get a lot of parameters like street title, address, city, state, lat, long , url etc
- In order for me to uniquely identify this record - can I consider URL to be unique to this address or concatenation of latitude and longitude
Ref: http://code.google.com/apis...
I'm trying to make a custom infowindow. Version = 2.
I have added my DIV to the map as follows -
$("#infoWindowClass").appendTo(map.getPane(G_MAP_MARKER_MOUSE_TARGET_PANE));
The infoWindowClass is -
#infoWindowClass
{
position:absolute;
padding:10px;
height: 155px;
width: 225px;
background-color: #E7F8CD;
...
like this site : http://www.housingmaps.com/
thanks
...
i want a way to do this.
thanks
...
Is it necessary to remove Event listeners in when using google maps javascript api?
"assume that code is working fine"
In other words do even listeners hinder website performance in such a way that one should ALWAYS remove/minimized unused listeners.
Thanks
...
In an iPhone application I'm developing I need to get GPS coordinates to perform some actions based on the values received. Users should have two possibilities of giving the location:
automatically from iPhone build-in GPS
by finding a specific point on a map (Google Maps)
I know how to user CLLocationManager to get current position...
Hello everybody,
I have a google map with my own map type:
var currentProjection = new GMercatorProjection(maxLevels + 1);
var mapBounds = new GLatLngBounds(new GLatLng(-9, -15), new GLatLng(9, 15));
var custommap = new GMapType(tilelayers, currentProjection, "Some project");
map.addMapType(custommap);
map.setCenter(mapBounds.getCenter...
Hey Everyone,
I am brainstorming possible ways to implement something for an Android application. I am working on an application for a bus system in which I thought it would be neat to try and find a way to find the fastest bus to your destination. Any suggestions on how I could use a starting position and ending position to find the c...
The API documentation gave me hopes last night with "bindInfoWindowHtml".
But it doesn't seem to replace the default infoWindow, even when you provide your own class etc.
I have tried using other ideas like the labeledmarker. But it doesn't support draggable markers. Hence can't use it in my application.
Here is the sample code whi...
Hello,
I wanna made "WiFi maps" and I have problem with do that, I wanna have 3 icons OPEN/WEP/WPA, and a lot of markers, and every marker with own infowindow, and only 1 infowindow on top, so when I will click #1 and then #2 then #1 will hide.
And if I will have XXXX markers there will be problem with them on map in zoom out, there is p...
I need to use a different datasource inside a map in Android than the google provided data. Is there a way to change the datasource to a tile based service (openstreetmap.org for example)?
Or are there other Android map APIs which are OpenSource and can be adapted (except Ericcson Mobile Maps - this doesn't work for me because of the li...
I've got a Google map, standard fare really. It's quite small though and the popup info windows on the markers are quite big, so my question is, is it possible for these popup windows to spill out the edge of the map and on to the actual website? (See dodgy photoshop job for an example).
Thanks!
...
I'm trying to add Google Maps onto my JSPs by using the Googlemaps taglib.
I've added this into my maven pom
<dependency>
<groupId>com.lamatek</groupId>
<artifactId>googlemaps</artifactId>
<version>0.98c</version>
<scope>provided<>/scope
</dependency>
This then included the googlemaps-0.98c lib...