location on load, not when clicked.
I've added this line into javascript code and it works in IE but not
in FF.
GEvent.trigger(marar[2], "click" );
i need help to solve the problem.
Thanks.
I've added this line into javascript code and it works in IE but not
in FF.
GEvent.trigger(marar[2], "click" );
i need help to solve the problem.
Thanks.
I am sorry that I have to post this question, but I am working on a
project and I can`t proceed before I have finished the maps section.
I am only in the maps API for a few days now, so i started with the
basics. Some tutorials and some experiments.
Than I found for what I tought was the tutorial I needed. The store
However, I am having trouble getting the "visibility" field of a
Folder to have any effect. When I set it to 0, every placemarker
Thanks
Sergio
i use this code to add labels as well markers to the marker manager.
now if i zoom out from level 10 to 9 all the labels are still shown
for a second after they are hidden. any idea why this happens?
for (var i = 0; i < markers.length; i++) {
....
var marker = createMarker(point, html, wert, type,
I have a rough test map here - [link]
I have counties outlined and I am trying to use the TLabel script to
put in the names of the counties with a link to a page.
My problem is that I can not figure how to put the label over the
poly. I have used a variety of z-index entries but no success. I
I have seek it from the example but I still have not so far , I think
it is easy for google map api ,any one can give me guide on this ?
thanks to your help .
I have a map with a few overlapping KML layers. Is there anyway to set
a priority for which one should open an info window when clicked, if
there are two or more KMLs overlayed on the clicked area? Or a way to
disable the info window for a KML? Thanks
- Casey
Sorry have very limited expierence with mapping.
I work for a local authority and wanted to provide a web page with an
embedded map that allows the selection of 2 points and then gives the
shortest road distance including one way systems, then after selection
of day and time band an estimated taxi rate would be displayed.
I have infoWindows that come up on custom markers when clicked. If
the custom marker is close to the upper edge, for example, the map
will of course move to fit the infoWindow inscreen - unfortunately it
isn't working correctly for me. The very top of the infoWindow is
var gmarker= new GMarker(...);
var html='test';
GEvent.addListener(gmarker, "click", function() {
gmarker.openInfoWindowHtml(htm l,{onOpenFn: alert('open'),onCloseFn:
alert('close')});
Now when I click on the marker I have in this order:
alert('open');
alert('close');
DO U HAVE A BLOG? I WILL SHOW YOU
HOW TO MAKE MONEY FROM IT 100% FREE.
TO LOOK AT THE BELOW WEBSITE.
have implemented the markermanager (open source)
the problem now is, that after the markers are drawn on the right
place, shortly after, they are all vertical arranged on the left and
then like redrawn on the right position. this all happens in less than
a second. what could it be? happens at zooming, not at shifting the
Can you guys please put in me in right direction is it possibel to
integrate google maps without internet connection to the client
computer.
We develop using .net and sqlsever and it is web application (aspx
I've been working on a GM project for some months without ever
encountering this problem. Now I've started on a different map in the
same project and right from the bat lines start to disappear when I
If I had an SLA with Google Maps API, will this problem be resolved ?
was wondering if there is a possibility to create a custom infowindow
for a polygon generated via kml file loaded to a google maps?
have tryed with adding a event to the map, but cant disable the
default infowindow and apart from that, its give me an error that the
"openExtInfoWindow" have no properties.
I am trying to display polylines on my map to link markers that are on
the same route and to do this I have created the following PHP script:
$route_query = mysql_query("SELECT lat, lng FROM locations GROUP BY
route ORDER BY id");
$i=0;
while ($line=mysql_fetch_array($rout e_query))
On my site, I want my user to be able to print a page with a map...
But right now, when I print the page...I don't get map in the print
out...
Do I need to take some special care for map printing in the code?
[link] is the result of one year of asking you
questions, listening to your valuable feedback and overcoming many
obstacles - mainly due to our own incompetency :)
But now we need your help again. Tell your friends, talk about it at
work. This can only work if people see the usability of this.
When I maximize my infowindow clicking on the + button, JS doesn't
work.
Why's that? Is there a way to make it work?
It works alright when it's not maximized
Thanks
Simone
thanks
I am trying to add Tooltips to the markers on my site based on this
Javascript example: [link]
I have added this code:
var tooltip = new Tooltip(marker,location.getAtt ribute("name"),4);
marker.tooltip = tooltip;
map.addOverlay(marker);
I have integrated Google Map in my site to point out some locations
using latitude and longitude values. The map is displayed on zoom
level 3 on load.
Now my problem is, if there is more than one location with same
latitude and longitude values the pointer is placed on the same place
which looks as one pointer from the zoom level 3. If I zoom in, all
var tilelayer = new GTileLayer(myCopyright, 2, 11,
{tileUrlTemplate: "tile.php?x={X}&y={Y}&z={Z}", isPng:true});
myTileLayer = new GTileLayerOverlay(tilelayer);
However my tiles are being requested at *all* zoom levels, when I
I would like to know if the Use of a map API on a commercial
website( one that meet the Google Maps Terms of Use) will interfere
with the listing of a business on google map through google local
business centre?
Wil one erase the other or are they 2 completely different things?
Thanks
I am thinking about adding a drop down menu, where you can select by
state... however no matter how I try to search by state, I never get
any results( Iowa, or Kansas, or Kansas, USA or KS)
IS there any way to search by state? I thought about adding a zip
which will display fantasy/RPG maps. Right now all the maps work fine
(except the Beastlands which appears to have a mouse problem according
to firebug, still learning that), and display good.
The only thing is the Cartographers maps are drawn as flat maps, and
- police/fire stations
- hospitals
- libraries
- parks
- schools
- airports
etc etc
Thanks.
-Brian