I have a map with some markers in V3.
Anyhow when triying to incorporate the dragzoom it seems it cant find
my src to the javascript.
I´ve tried to point it out locally too but same result.
At first I thought it was some "cross domain scripting" issue, but now
I am just confuised..
my source for i
aahh, that was it!
thanks :-)
--
You received this message because you are subscribed to the Google Groups
"Google Maps JavaScript API v3" group.
To post to this group, send email to google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to
google-maps-js-api-v3+unsu
Hi
How would you guys adapt something like this for a Android or Iphone?
http://chalmersmotorklubb.se/google/MinGoogleKarta.htm
I have seen this emulator for example,
http://iphonetester.com/
but I guess it does not take into considderation the graphic rendering
performance of the phone, only the
Hi Radiante
I have no info about Chrome, but you should try out firefox v4.0
(beta)
It uses GPU hardware acceleration for graphics rendering, I found a
huge performance increase from IE7 when rendering large groups of
markers.
Chers//Martin
--
You received this message because you are subscribed
How is the best way to go about fetching the current mapwindows
coordinates?
(Xmin, Ymin Xmax, Ymax)
--
You received this message because you are subscribed to the Google Groups
"Google Maps JavaScript API v3" group.
To post to this group, send email to google-maps-js-api-v3@googlegroups.com.
T
I use the markers array values
var locations= [
['Some text','something else',57.6845, 11.9148,1],
in this case to get the cords for the 1st one.
alert(locations[1][2] locations[1][3]));
--
You received this message because you are subscribed to the Google Groups
"Google Maps JavaScript API v3
yes, if you search markers for example you can use whatever in the
markers array to be displayes wherever you want in a page using
javascript.
On 18 Feb, 08:59, nat wrote:
> Is it possible to show search result on map as well as textual result
> below the map on the same page using Google Map AP
simply use som javascript and use the zoom to location
map.setCenter(loc);
I did like this.:
http://www.chalmersmotorklubb.se/google/MinGoogleKarta.htm
--
You received this message because you are subscribed to the Google Groups
"Google Maps JavaScript API v3" group.
To post to this group, send
aha, seems like you wanted "Local Search " not do search on local
data..
sorry, no clues about this in V3...
--
You received this message because you are subscribed to the Google Groups
"Google Maps JavaScript API v3" group.
To post to this group, send email to google-maps-js-api-v3@googlegroup
next generation browsers use GPU hardware to render graphics in the
browsers.
If you have xp try the firefox v4.0 beta if you have alot af markers
big difference (if you have some HP in the graphics card)
Also W7 ie 9 and new the new chrome to come I beleve.
--
You received this message because y
Good stuff!
thanks :-)
--
You received this message because you are subscribed to the Google Groups
"Google Maps JavaScript API v3" group.
To post to this group, send email to google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to
google-maps-js-api-v3+unsubscr...
I know you can search an array using the
alert($.inArray("myWord", myArray));
but if there is a 3D array like in the locations /markers usally have.
I would like to loop thrue the arrays "third" index values.
But how do you write that, obviously I can not write "i"
alert($.inArray("myWord", locat
I like to have a search on the locations array.
I did one using a loop, but it is "exact " search so you have to write
exactly the same as in the array for a hit.
I would like a more "fyzzy search" that hits all containing that
search..
for example search for
1
will hit values
1 A
1 B
Maby one have to go with Regexp using javascript to acheive "SQL LIKE"
functionality? or does JQuery support this?
--
You received this message because you are subscribed to the Google Groups
"Google Maps JavaScript API v3" group.
To post to this group, send email to google-maps-js-api-v3@google
Is it possible to add the Google maps labs "new tools" they have in
the www.googlemaps.com in your own googlemap?
--
You received this message because you are subscribed to the Google Groups
"Google Maps JavaScript API v3" group.
To post to this group, send email to google-maps-js-api-v3@googleg
Anyone??
What I meen is these functions?
https://lh3.googleusercontent.com/_wIuTN5ILEP4/TX9tlIerKzI/BzU/9MjCNR7jjeU/functions.JPG
--
You received this message because you are subscribed to the Google Groups
"Google Maps JavaScript API v3" group.
To post to this group, send email to goo
Is it possible to use javascript with a javavariable in the url to the
kml layer to dynamicly point to the right kml layer as below?
Or does the url to the KML file have to be set at pageload?
var kmllayer;
function gronytor(anl) {
var url;
url="http://blablabla/google/KML/";;
url=url+anl+".KML"
Ah, I got it, It works.. just had to remove the ' '
--
You received this message because you are subscribed to the Google Groups
"Google Maps JavaScript API v3" group.
To post to this group, send email to google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to
goog
I have a array with markers but how do I get what index the clicked
marker have?
of one click on one of the markers in the map.
--
You received this message because you are subscribed to the Google Groups
"Google Maps JavaScript API v3" group.
To post to this group, send email to google-maps-js-
Its really like a basic tutorial example, storing the markers in a
locations array, no funny buissness to it.
http://www.chalmersmotorklubb.se/google/Example.htm
--
You received this message because you are subscribed to the Google Groups
"Google Maps JavaScript API v3" group.
To post to this
Is there some call or so in the API to check which index is selected
once clicking a marker?
--
You received this message because you are subscribed to the Google Groups
"Google Maps JavaScript API v3" group.
To post to this group, send email to google-maps-js-api-v3@googlegroups.com.
To unsubsc
Anyhow I thought of a different approach, googlemaps does only render
the markers in current mapwindow right? can you fetch those array ids
somehow ? or the coordinates of the markers?
I would like to get the markers id for two purposes. (both ways)
1. to do some extra stuff (maby open a certain
Thanks, there it was :-)
Any Ideas to check which markers in current mapview?
--
You received this message because you are subscribed to the Google Groups
"Google Maps JavaScript API v3" group.
To post to this group, send email to google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this
Ok, I am kind of stuck here, it seems markers have a method
getVisible() that sounds usable for this purpose, anyhow tried to feed
it som indexes from the marker array in 'bounds_changed' event
Had hoped to get info like:
1 true
2 false
3 false
sombody please point me in the right direction
cant
Solved..
--
You received this message because you are subscribed to the Google Groups
"Google Maps JavaScript API v3" group.
To post to this group, send email to google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to
google-maps-js-api-v3+unsubscr...@googlegroups.
I have multiple arrays to keep track of which kml to feed the map.
Anyhow it run into problem when using preserveViewport =true.
It works without preserveViewport set but jumps around the map :-(
Also it works setting it to "true" when just using a single KML
file..
But when assigning the arrayind
I´ll do tomorrow, its at a testenvoirment right now
--
You received this message because you are subscribed to the Google Groups
"Google Maps JavaScript API v3" group.
To post to this group, send email to google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to
goog
It worked, I had an the indexes for the arrays.
--
You received this message because you are subscribed to the Google Groups
"Google Maps JavaScript API v3" group.
To post to this group, send email to google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to
google-m
Then trying to close a kml file that is not existing on the webserver
it crashes.
Is there anyway to check wether a KML file is a valid one? using
javascript or or V3 api or so?
var KmlLayer=new A
I know it can be done with serversida but are there any options?
for example som kind of request to googlemaps? and if it leaves a
certain value is is not a valid one?
--
You received this message because you are subscribed to the Google Groups
"Google Maps JavaScript API v3" group.
To post to t
solved, I found one thing that worked to check for:
if (KmlLayer[i].getDefaultViewport()!= undefined) {
--
You received this message because you are subscribed to the Google Groups
"Google Maps JavaScript API v3" group.
To post to this group, send email to google-maps-js-api-v3@googlegroups.com
solved, it was simply a case of headworm.
--
You received this message because you are subscribed to the Google Groups
"Google Maps JavaScript API v3" group.
To post to this group, send email to google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to
google-maps-js
Looks like openatc already done this in googlemaps on a asp website.
http://www.openatc.com/gm.asp
Then you can ask them how they did too :-)
--
You received this message because you are subscribed to the Google Groups
"Google Maps JavaScript API v3" group.
To post to this group, send email to
I splitted up my kml into small ones, then just keep track of what kml
should be opened at the current view, like the idea with tiles but for
kml.
--
You received this message because you are subscribed to the Google Groups
"Google Maps JavaScript API v3" group.
To post to this group, send email
Sorry it first only appeard to be solved as all my kml ended up
levaing undefined in the condition
if (KmlLayer[i].getDefaultViewport()!= undefined) {
So the
KmlLayer[i].setMap(null); never executed :-(
Looked at Piers examples and I think I found a similar issue in the
"old_stylev3.htm" example:
If using a KML file instead of a markers array, is there some good
practice to be able to search values in the KML file?
As you can do with markers, then zoom to the marker you searched for.
Also If I understand correctly once opened a KML in a google map the
kml file becomes cached at googles ser
kmllayer = new google.maps.KmlLayer(url);
--
You received this message because you are subscribed to the Google Groups
"Google Maps JavaScript API v3" group.
To post to this group, send email to google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to
google-maps-js
Funny thing when testing a htm file with a style with textsize etc it
works fine for both markers and kml info windows when klicking objects
in the map.
The text in the infowindow is cleraly affected.
Anyhow when trying the same webpage in a iphone w safari it only wokrs
on markers info window.
The
If I dont feel like buying the developer kit from apple to get the
current gps location, is there some option?
maby an app or plugin that can be used by a webpage html file with a
google maps map to show current position in the map?
Safari does not seem to support the sensor feature.
--
You recei
I have found a plugin called Quickconnect that ltes you grab the phone
GPS position, great!
Anyhow it seems not to be so good documentation about how to use it.
http://quickconnect.sourceforge.net/browser/index.html
It says you can retrieve the gps position by simply call
findLocation() using jav
it seems there is a "limit" of about 10 layers or so, I did a
different approach by checking the uses mapwindow, and only open up
those kml layers in the view.
I used a marker with id to check for kml "id" to open.
You can also do the check for example at tiles loaded event.
--
You received this
the limit i more like 15 layers..
chers//martin
--
You received this message because you are subscribed to the Google Groups
"Google Maps JavaScript API v3" group.
To post to this group, send email to google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to
google-
Found a post that stated one could extrace distance between 2 points
by using
distance = Math.sqrt((69.1*(cy-lat))*(69.1*(cy-lat))+(53.0*(cx-lng))*
(53.0*(cx-lng)));
however what is
(point 1) (point 2)
lan1,lon1 lan2,lon2
is that as below?
distance = Math.sqrt((69.1*(lat1))*(6
I struggle with getting the map into fullscreen without the
"crome" (adress bar)
(not to be confused with setting the map to 100% height/width)
And in the Safari (5) you push up on the page up and the adressbar
"removes" but as you have a map there it pans the map instead when
googlemaps is in the
I found a script that is working, partly..
if (navigator.userAgent.indexOf('iPhone') != -1) {
addEventListener("load", function() {
setTimeout(hideURLbar, 0);
}, false);
}
function hideURLbar() {
window.scrollTo(0, 1);
}
It will hide the the url part but only if one removes the first
sentence
I found a script that is working, partly..
if (navigator.userAgent.indexOf('iPhone') != -1) {
addEventListener("load", function() {
setTimeout(hideURLbar, 0);
}, false);
}
function hideURLbar() {
window.scrollTo(0, 1);
}
It will hide the the url part but only if one removes the first
sentence
Did a whole lot of work on javascript until I found how to do it..
You can run a html webpage as a Webbapp within Safrari, then you can
lose not only the url bar, but also the browser bar at the bottom that
was so much better. :-)
https://lh3.googleusercontent.com/_wIuTN5ILEP4/Tcfq_xx8gVI/
is there some way to have the infowindow bubble a fullscreen window
instead when klicking a kml file with info?
--
You received this message because you are subscribed to the Google Groups
"Google Maps JavaScript API v3" group.
To post to this group, send email to google-maps-js-api-v3@googlegro
Looked for some way to clear the cashed file at google when one have
opened a kml file.
Is there some other way than renaming the file like below?
If you remove the file on the server and then open the kml is the
cashe removed then?
to append a parameter to the url that changes everytime you re
A quick hack was to just rename the kml folder and setting the path in
the html file to the new folder name.
Geoxml is that compatible w safari? maby woth looking into instead.
But since I can export from MapInfo and have all info in the kml
intact its pretty nice.
My thingy works pretty nice on an
Hi you could test storing at a local server
currentMarker.setIcon("images/MyImage.png");
currentMarker.setMap(map);
it might be some browser specific issue.
There are an online picture resizer that works great if u google on
it, I used it to get iphone webb app picture to 57x57px
--
You receiv
Try to style the KMLs info bubbles text as the bubble itself becomes
smaller than the table generated.
(The table sticks out of the bubble)
This seem to only happen in safari browser, in mozilla it looks ok.
Tried sth like below in the html map file:
infoWindowHtml { height: 100%; font-family:Ari
or you can rely on raw power and just use regular markers if you know
all the users has some HP computers :-)
If using one of the new browsers (firefox v4 for example) and a quick
computer C2d or better its not a big problem with a 1000+ markers.
Tried one with my homecomputer with Phenom 6core pr
I use a draw polygon by insertin nodes as below.
But when having a KML layer in the map the KML layer is ontop the
polygon..
How do you change to make the polygon sit ontop the KML?
Is it just a question of creating a new instance of the kml layer
BEFORE the polygon in the
"Initialize map functio
Here is an example:
The polygons created end up below the KML.
Anybody have any ideas to set the newly created polygon ontop of KML?
EXAMPLE:
1 klick in the map to add a node
2 klick on a node to remove it
3 drag a node to move a node.
http://www.chalmersmotorklubb.se/google/draw.htm
--
You r
Good work! that is a great funcionality
--
You received this message because you are subscribed to the Google Groups
"Google Maps JavaScript API v3" group.
To post to this group, send email to google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to
google-maps-js-a
there we go, it was just an issue af running a polygon.setmap(map) at
the right sequence
Did not think it was as simple as that.
--
You received this message because you are subscribed to the Google Groups
"Google Maps JavaScript API v3" group.
To post to this group, send email to google-maps-js
I wonder if there is some way of checking or if there is some event
one can use to se wether kml layer has been loaded?
The problem is still this,
http://groups.google.com/group/google-maps-js-api-v3/browse_thread/thread/25fc522340a62f1f/57c1e81b08282665?hl=sv#57c1e81b08282665
as if one have a
correction, it should be:
the kml render AFTER the polygon.setmap(map) if slow internet
connection...
--
You received this message because you are subscribed to the Google Groups
"Google Maps JavaScript API v3" group.
To post to this group, send email to google-maps-js-api-v3@googlegroups.com.
T
Sorry didnt find that one
thanks! //M
On 25 Maj, 13:53, Rossko wrote:
> > I wonder if there is some way of checking or if there is some event
> > one can use to se wether kml layer has been loaded?
>
> You could search previous posts,
> examplehttp://groups.google.com/group/google-maps-js-api-v3
http://code.google.com/intl/sv-SE/apis/maps/documentation/javascript/basics.html#Geolocation
--
You received this message because you are subscribed to the Google Groups
"Google Maps JavaScript API v3" group.
To post to this group, send email to google-maps-js-api-v3@googlegroups.com.
To unsubs
is it possible to get navigation functionality using the java v3 api
you can find in the android telephones "app" version of google maps.?
like
-"turn right in 200 meters"
--
You received this message because you are subscribed to the Google Groups
"Google Maps JavaScript API v3" group.
To post
is it possible to get an android phone to navigation mode when from a
google maps map using the v3 api?
--
You received this message because you are subscribed to the Google Groups
"Google Maps JavaScript API v3" group.
To post to this group, send email to google-maps-js-api-v3@googlegroups.com.
Ok, I know one can get the "route" in the map from 2 points or more,
set it to different traveltype: walking, car etc and it use the car
road and for determine the network route and so on, but what I aim for
is if can you pass start -end params to and have a web v3 googlemap
turn into the "native g
Is there some way to render KML ajax like built in maby in the geoxml3
parser or so?
(only open up/render data that is currently within the map)
--
You received this message because you are subscribed to the Google Groups
"Google Maps JavaScript API v3" group.
To post to this group, send email t
Hi Chad!
With ajax technology I mean one solely open up data that are in the
mapview, the rest is ignored..
I have a lot of data, that is the problem, so I have sofar written a
rough mimic of Ajax myself instead to be able to handle the data in
Googlemaps.
Splitting up the data into many kml files
Thanks for the tip, I looked into this, but it seems when importing
KML to fusion one loses all the tematisation/colorisation. Since I
have all tematisation in the KML files (export from GIS program)
telling each polygon wich color to have it falls on that. :-(
or is this possible somehow to import
also
It does not seem to import all the data!?
I get stuck with
"C:\temp\MyTest.KML (5% imported) " even though the size is not so
big. tried a kml file with only 1.9MB
--
You received this message because you are subscribed to the Google Groups
"Google Maps JavaScript API v3" group.
To post t
Hello, how do I select multiple "types" to have the same style when
setting a style in a Fusion table.
Tried as below
where: "'description' = 'asphalt','stones','wood' ",
where: "'description' in ( 'asphalt','stones','wood') ",
where: "'description' = 'asphalt' or 'description' = 'stones' or
Hello, how do I select multiple "types" to have the same style when
setting a style in a Fusion table.
Tried as below
where: "'description' = 'asphalt','stones','wood' ",
where: "'description' in ( 'asphalt','stones','wood') ",
where: "'description' = 'asphalt' or 'description' = 'stones' or
'
Using the javascript 3,0 api in a iphone webapp map. All worked great on
iOS <5.1.1 when upgrading to iOS 6.0 it wont even startup the map in ios
6.0.
It uses geolocation and I have tried setting the app priviligies/settings
to "allow position" everywhere I could find without any luck.
Anyone el
I see a post with important noptice that the forum for technical questions
regarding Maps v3 api moved to "stack overflow"
What does that mean?
If one google stack overflow you get alot of results regarding the error
message "Stack overflow" Very confusing.
Try posting a link to the new for
Tried my googlemap v3 map with some fusion tables in it, havent used it for
a while. Now almost nothing comes up, it only say "Data may still be
loading, Drag or refresh page to find out"
Checked internetconnection and its fibre and about 70-80Mbit/s.
http://www.chalmersmotorklubb.se/google/mobil
Den tisdagen den 8:e april 2014 kl. 10:10:05 UTC+2 skrev Thoern:
>
> I see a post with important notice that the forum for technical questions
> regarding Maps api moved to "stack overflow"
>
Does this affect th Javascript V3 APi forum? if not why is this
information
I see a post with "important notice" that the forum for technical questions
regarding Maps api moved to "stack overflow"
Does this affect this forum ? the Javascript V3 APi forum? if not why is
this information in here? It will only confuse. Also if you google "Stack
overflow" you get alot o
I have a Google map that uses the Googlemaps V3 API and uses a locations
array with a bunch of markers.
The map have been working for years without any problem.
All of a sudden the markers do not show up in the map. Also the items do
not show up in my "Select option" list to the left.
Is there s
of the
>> library, rather than jsut linking to the Googel hosted one)
>>
>>
>>
>>
>> On 16 May 2016 at 12:26, Thoern > wrote:
>>
>>> I have a Google map that uses the Googlemaps V3 API and uses a locations
>>> array with a bunch of mark
I have a webapp which uses javascript V3 api.
After upgrading to ios 10.02 it does not help to change security settings
for Safari to allow positioning in integrety settings.
What I´ve heard Safari stoped allowing geolocation from a page that is not
in SSL (Sequre protocol). (Same in Chromes lat
Thanks for info! This must be a pretty big problem around, suddenly you
can't position your self in a map without HTTPS,
I think its ridiculous and a wast of many peoples time.
Maby there is some workaround some other browser to be used on iphones that
support Geolocation on a regular http
startad = true;}
});
/* google.maps.event.addListener(map, 'dragend', function () {
if ((gronOn == true) || (vinterOn == true)) {
testArr();
}
});
*/
The map is at
https://lf-webbapp.goteborg.se/
Den torsdag
aha, I figured it was some sequence issue. Did not really get what the
ascync params in the src really did.
Chers//M
Den torsdag 27 oktober 2016 kl. 13:46:39 UTC+2 skrev barryhunter:
>
>
>> https://lf-webbapp.goteborg.se/
>>
>
> When I try that url the javascript console displays
>
> js?...:9
81 matches
Mail list logo