Hmm, weird that topzindex was still there. I must have forgotten to
remove it... I wasn't using its functions anymore though.
I also gave the body 100% width and height now, so that is fixed too.
Thanks for pointing out those errors.
Though, it still doesnt work in IE :(
On Dec 15, 9:30 pm, Rossko
Ok, thanks! It would be indeed logical to also get the rest of the
API, but I wasn't completely sure.
Now, the page with only one left: http://bit.ly/umutPV
On Dec 15, 11:13 am, Rossko wrote:
> > Yes, but still, when I remove one of the two, the error is still
> > there...
>
> When you're ready,
Yes, but still, when I remove one of the two, the error is still
there...
And when I include the geometry library, does it automatically also
include the rest?
On Dec 15, 3:49 am, Rossko wrote:
> > Also, when removing one of both, it still doesnt work... :(
>
> Your demo page is still loading the
nov, 21:45, "geocode...@gmail.com" wrote:
> On Nov 18, 12:01 pm, Kasper wrote:
>
> > Note, you can view the page here:http://bit.ly/w2eGDR
>
> looks to me like you are including the API twice, once with the
> library once without:
> http://maps.googleapis.
Yep, that question was for you, assuming you indeed used the API in this
case.
Thanks for the tip about the TIGER database, though I checked, and they
don't have the transit lines of The Netherlands... Damn.
--
You received this message because you are subscribed to the Google Groups
"Google M
Haha, yeah, That's me alright.
Well, I haven't made polylines of all the transit lines in The
Netherlands, as this is just a concept version.
It would then be possible to do what you said indeed.
Wouldnt it be possible to somehow use the transit lines as an overlay?
Because it is possible to style
And you never found a solution?
--
You received this message because you are subscribed to the Google Groups
"Google Maps JavaScript API v3" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/google-maps-js-api-v3/-/CyOdKX_-TdoJ.
To post to this group, send email to
Ah damnit... Not even with 3rd party plugins or something?
Wouldnt it be possible to somehow do a reverse zoom, with lets say, jQuery?
So that the zoom level is 11, but I see it as zoom level 9 (basically just
downscaling of the google maps images)
Would that be possible?
--
You received this me
Anyone?!?
--
You received this message because you are subscribed to the Google Groups
"Google Maps JavaScript API v3" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/google-maps-js-api-v3/-/MqALRYQDJUsJ.
To post to this group, send email to google-maps-js-api-v3
Note, you can view the page here: http://bit.ly/w2eGDR
--
You received this message because you are subscribed to the Google Groups
"Google Maps JavaScript API v3" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/google-maps-js-api-v3/-/EHtNptj6u3sJ.
To post to th
I'm using the geometry library on my website, but for some reason it's
destroying the Google Maps maps...
In IE8 the webpage stops loading because it gets the following error:
Bericht: 'elementType' is leeg of geen object
Regel: 27
Teken: 68
Code: 0
URI:
http://maps.gstatic.com/cat_js/intl/nl_nl/
I tried several things but didn't get it to work. Searching on the forum
didnt help a lot either, so I tried a bit more...
and got it to work with setPosition(new
google.maps.LatLng(latitudefloat,longitudefloat))
yay :P
--
You received this message because you are subscribed to the Google Group
Ah cool, that fixed it!
Now, the position is giving problems...:
I now have tried:
marker6.setPosition('51.6063,4.7265');
>
and
marker6.setPosition(51.6063,4.7265);
>
Do I perhaps have to use setPosition(new google.maps.LatLng(51.6063,4.7265)); ?
--
You received this message because you are
Yeah, if you know what to look for, which I didn't really.
However, I'm going insane here, because I just cant get it to work...
At first I got loads of errors like I didnt close the arguments with an ),
which I fixed by using setContent({ content: "text" });
Which is weird, because the documenta
That looks exactly like what I'm looking for indeed.
I find that documentation so hard to find the required information in, that
I prefer asking it on the forum.
There should be room for beginners question on a forum, right?
But thanks a lot! I can finish up my script now!
--
You received this
My apologies for being so vague.
I indeed want to change the title of a marker [the tooltip]. Besides that I
also want to change the content of the infowindow.
This is the code I'm using now:
var infowindow0 = new google.maps.InfoWindow({ content: "content here" });
> var marker0 = new google.m
I'm sorry, you are right.
I meant if it was possible to change the content of infowindows and names
of markers.
Is that possible, or does that happen automatically?
[I thought I tried that, but now I think of it, I didnt move the markers, I
placed new ones...]
--
You received this message beca
Can something similar also be done with markers and infowindows?
Please let me know :D
--
You received this message because you are subscribed to the Google Groups
"Google Maps JavaScript API v3" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/google-maps-js-api-
Ah ok, thanks.
I think its working just perfect now: http://bit.ly/vZdevz [the dark blue
marker is de train] [press Volg Deze Trein to keep updating the location:
it refreshes every minute]
At first I thought the position calculation was inaccurate, but then I
thought of the fact that the polyl
Is it possible to always show the railroad elements when using the google
maps api?
Now they only show at zoom level 11.
I currently have this as my options for the transit lines, but I couldn't
find an option to make them always visible:
*{featureType: "transit.line",stylers: [{ visibility: "o
And I've got the last part fixed aswell now. Because I was loading the
javascript after the page loaded, somehow some variables didn't want to
stay global. So I declared them on the part of the page that was loaded,
and it all works fine now.
I'm glad this is finally fixed :)
--
You received
After a lot of messing around I got it working by making the position
variable a global variable AND by redefining it within the travel
function...
However, now I'm running into a problem with the marker that is being
added: it somehow loses its definition after its placed... So it has to be
pl
For some reason the position variable still returns undefined
I've checked all the expressions that should be defining the position
variable, and those are all ok...
weeeird :S
--
You received this message because you are subscribed to the Google Groups
"Google Maps JavaScript API v3" group
Sweet! Ive got it working now! (here: http://bit.ly/vY4YFj)
But back to the case of adding the marker after initialisation... do you
have any more tips on that?
--
You received this message because you are subscribed to the Google Groups
"Google Maps JavaScript API v3" group.
To view this disc
But that exact same function works just fine here: http://bit.ly/vY4YFj
So what could be going wrong?
--
You received this message because you are subscribed to the Google Groups
"Google Maps JavaScript API v3" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/goog
Apparently I DIDNT have it properly declared. Or I kinda did:
I declared it globally, but then in the function for the marker, I
redeclared it.
I removed that declaration and now the polyline shows up just perfect.
However, the marker wont show...
The script used there is this: http://bit.ly/rPVbs
I've had a look at his code, but it doesnt look that different from mine,
here is his code: [from the page source]
http://pastebin.com/Lgcv4BWs
It creates a new marker, infowindow, etc. nothing especial.
Though it does do this:
*map.clearOverlays();*
*That clears all the custom data, right?*
But
> Is your map variable global?
Yes, I believe it is, as I declared it in a
I have a map on my webpage, which works fine, but I want to add data to it
after it has been initialized.
The map that is showing, is a normal map, with about *20-30 custom* (static)
* markers* on it.
I would then like to add (*after 1 second*) a *marker* and a *polyline* to
the map.
But then,
There are just a few things bothering me though:
-How did you select the polylines you needed for determining the positions?
and:
-How do you take returning rides into account? For example, when a train is
going away from a station, it will also come back some time, but the
coordinates of the po
Ok, so I just put the script in my code...
And it works!! This is amazing!!
I first had to completely change the way I interacted with my server to get
the polyline data, but now it's much easier.
I will now also have to start writing a php function [as I get all my data
from php] which picks t
Thanks for that explanation, it is indeed very simple to calculate the
percentage between two stations [I've actually made something similar, but
then giving the time in hours :P ]
You are talking about combining the paths, now, Oh wait...
I just realised that the data which is loaded into a pat
Yeah, I guess I have to figure out a lot more about Javascript before I can
make something close to this...
I actually already figured out you used the FusionTables as overlay, but
didnt really understand why you also used the encoded polylines. (I do now
:P )
But how did you place them on the
Ok, thank you so much for that!
Now it works indeed!
What I aim to do with this piece of javascript, is calculate the
length of several polylines, and then put a marker at a certain
distance on the polylines.
However, orignally I meant to put several paths in the computelength
function, but i guess
Yeah but when I remove the quotes, I get this error:
TilburgUni_TilburgReeshof_path is not defined
while it IS defined...:
> var TilburgUni_TilburgReeshof_path = [
> new google.maps.LatLng(51.564666188773856, 5.0525665283203125),
> new google.maps.LatLng(51.57341556900758, 4.994373321533203)];
>
Oh, wow :P Now I dont get the error anymore indeed!
Though I now have this:
document.getElementById("afstand") is null
but there is an input element on my page, with id afstand...:
Afstand: km
Also, can I put multiple paths in that computeLength function?
--
You received this message because y
I am using polylines on a page I'm making, and the amount of polylines
[which almost connect] is variable.
But I was wondering how I can get the length of the polylines?
I have tried this, but it doesnt work:
function update() {
var afstand =
google.maps.geometry.computeLength('TilburgU
I've been looking at your code now, but you've made everything in JS, as it
seems.
I, unfortunatly, am not familiar with javascript...
Some things I'm really curious about:
*-How did you build your routes and stations?
-(How) did you cache the planned routes? (assuming that is the way you get
t
Wow that project looks amazing!
All your data is coming from the map.js file?
Could you perhaps explain a bit how you did that?
Sorry for the late reply...
--
You received this message because you are subscribed to the Google Groups
"Google Maps JavaScript API v3" group.
To view this discussion
I didn't get to work on my web application a lot this week, but I found a
way to get the times of arrival a lot faster and easier. (by planning routes
and saving all the stations)
Now, the problem is that all the routes are planned in the future, you can't
request data from the past. So somehow
Cool, thanks for those examples, I'll check them out soon.
As for the database, considering the fact trains always follow fixed routes,
I guess I could make those myself from the polyline segments.
However, this will not be very nice with temporary changes, I'll have to
look into that.
--
You
What exactly do you think is the difference between an animation and
calculating the positions in intervals?
Ultimately I'd like to have the marker moving smoothly, (which is why I
reffered to that example earlier) and I don't know if that's the case with
what you are describing (the intervals).
@Rossko:
Well, the national train company from The Netherlands has got a database,
which is accessible to all.
In that database you can request all the available trainstations, and
request all departing trains for every station. A small example of that can
be seen here: http://ephemurl.com/3d/pj
*@Larry:*
Yeah, that would be good aswell, as long as it is possible to move them
based on time, and really animate them, so you can see them move.
Ok, the dynamic animation isnt really neccessary, but would make the whole
look a lot better.
Could you perhaps show me an example of the examples?
That is for when you'd like the user to plan it's own routes, right?
Let's say if I wanted to animate trains along custom drawn polylines, how
hard would that be?
And the data for the departure and arrival times would be gathered from a
database.
--
You received this message because you are su
That is for when you'd like the user to plan it's own routes, right?
Let's say if I wanted to animate trains along custom drawn polylines, how
hard would that be?
--
You received this message because you are subscribed to the Google Groups
"Google Maps JavaScript API v3" group.
To view this di
Thanks! And when I want Google Maps to plan routes across those lines,
how do I have to build the railroad network? (1 shape, multiple, etc.)
How does that work?
Kasper
On Sep 28, 11:37 pm, Kasper wrote:
> I have read that it is possible to create custom polylines on your own maps,
> but
That looks like what I need!
And when I want google to use those lines to plan routes across them,
do they all need to be 1 shape, or how do I have to build the railroad
network?
Kasper
On Sep 29, 11:06 am, davie strachan wrote:
> Tryhttp://www.doogal.co.uk/polylines.php
> Regards Davie
@Rossko:
My apologies for the late reply, I didn't get email notifications... [I do
now :P]
I know about the way Google Maps currently plans routes using trains, but
that just isn't what I need.
I am willing to make my own map's routes with polylines, but is it possible
to only use those polyli
Test post
--
You received this message because you are subscribed to the Google Groups
"Google Maps JavaScript API v3" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/google-maps-js-api-v3/-/LsxCxeCtXJsJ.
To post to this group, send email to google-maps-js-api-v3
I have read that it is possible to create custom polylines on your own maps,
but is it also possible to plan routes using only those points?
Please let me know
Also, is there an easy way to make lots of those polylines, with a tool or
something?
--
You received this message because you are sub
Hi,
For a school project I want to make an interactive map which shows objects
moving from point to point [station to station]
For the animation I want to use this as a base:
http://www.kmcgraphics.com/google/
That, as you see, uses the roads from Google Maps to determine its route.
But now come
Hi Chris
i had this allready, should be sufficient?
--
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 em
Hi there
Im a dude, new to php/java scripting.
after a lot trial and error ive failed. I wantet my page to show up
the danish letters instead of a diamond with at questionmark inside.
so i read that i hat to insert &language=da in my script tag (from the
list of possible languages):
http://m
54 matches
Mail list logo