Is it possible to make bend with google maps polyline? - polyline

I have a question, is it possible to make a bend in google maps polyline with the latitude and the longitude?
I want to paint lines over the railways and there are bends.
My question is: is this possible and is here a tutorial on the internet?
thanks in advance.

Related

googlemap static gps coordinates street

I am trying to create a Java project and I'd like to know if it was possible to retrieve the coordinates of the nearest street according to a GPS point. Thanks to googlemap static or other free support.
Thank you
I recently found geopy, it is developed in Python. I dont know if it helps.
https://code.google.com/p/geopy/

Google Maps API: Directions Service on Custom Maps

I am in need of importing custom roads into Google Maps, (ie: new roads that may not yet be visible in Google Maps) and I would like them to be included in the Directions Service API. The approach I was thinking about first, was to use Google Maps Engine to import a shapefile containing the road data of what I need and create a map based on that. Then I would use the Directions Service on the data in that Custom Map. I am very wary as to if this will work, and as far as I can tell there isn't a trial version of Google Maps Engine that I can use to test this out. And I really don't want to purchase it if it isn't going to work anyway.
Does anyone know if this way will work, or if there is a similar service that Google provides that will work for what I require?
I assume I will need to implement my own directions service if I want to do this, but I want to see if there already is a service out there that will instead.
Thanks!
EDIT:
To try and clarify:
I want to import a set of custom roads obtained by an alternate source. These roads are in a shapefile format and are more up-to-date than some of the roads on Google. What my goal is, is to use the existing google roads, and "merge" the data that I have where necessary. Say in the far north of Alberta Canada a company has put some roads in for getting to their oil site. I want to import those roads and be able to tell our drivers how to get there. They would take a main highway that google already has, and then turn onto a road that doesn't show up on google because it is too new. This is where the alternate data set of roads would come in.
I want to find the best way to do this, while obtaining directions that incorporate those new roads. I understand that this may not be possible using google services, but I am asking in case someone else has come across this problem.
I guess I should update this to my solution, in case anyone else was wondering the same thing. The answer is NO, currently there is no way to import custom data like roads into Google Maps and have them be included in the directions service. I have talked to a Google representative on the phone, and they have let me know this.
I had to implement my own routing engine, which I did using PostgreSQL, PostGIS, and PgRouting.

How can i find type of a surface(toponym) is that point?

I have a point with lat-long and i want to know what type surface(toponym) that point is: house, road, land etc. How can i do this with google api? I cant find solution.
The Google maps API doesn't provide a solution for figuring that out.

Show locations on a map in asp.net

in my asp.net application i need to display on a map (google map but i also have a shapefile of the roads ) the locations of about a thousand car accidents.
This is my very first approach with this world and i'm getting confused.
I can see a long list of framework and libraries ( OpenLayers, SharpMap, GoogleMaps Api, etc... ) but i dont' know which is the best for my pourpose.
Could you please help me to find the way?
Thanks.
If you're just trying to add markers to the map it's really easy, have a look at the Marker examples on this page. (View the source.)
Try the answers to these questions:
Google Maps - Easy way in ASP.Net?
Best .NET Wrapper for Google Maps or Yahoo Maps?
ScottGu suggests this how-to article.
And here's a Code Project how-to.

ArcGIS Flex API: Convert a screen point to a MapPoint

Using the ArcGIS Server Flex API, is there a way to convert mouse coordinates on the screen or the a map control to spatial coordinates in the map? It seems like there's functionality to convert map points to screen points, but a function for converting in the other direction seems weirdly absent.
I think this method should help
hector: You really should ask this as a question, or you could look into the documentation. Method toScreen() is just what you want.

Resources