Re: [visualization-api] Re: Draw line chart on Google map

2014-12-01 Thread 'Sergey Grabkovsky' via Google Visualization API
Well, if you're just looking for a hack, you should be able to change the
latitude to simulate elevation, and fill the polygon with gray. I don't
really have any other ideas. If you know that someone else has done this,
can you point to that? Maybe we can look at their code and figure out what
they're doing?

If you don't need to model any actual elevation and just want it to look
like it's elevated, you can use arcs to do that. Here is a stackoverflow
question that seems to do that:
http://stackoverflow.com/questions/24956616/draw-circles-arc-on-google-maps

On Mon Dec 01 2014 at 10:32:00 AM Rishad Ali mrishad...@gmail.com wrote:

 Thank for your reply Sergey.
 I know this is not a feature available in Google Maps api, I need some
 idea how I can implement it.

 I am trying to add a div for the Map graphics, over that div I add some
 lines with elevation on the map. For change of projection event I will have
 to redraw the lines.
 (I haven't implemented it, but that's what I think)

 I sure it is doable, since someone has done it. Any other idea or any
 comments on my thoughts.

 Thanks







 On Monday, 24 November 2014 09:09:10 UTC, Rishad Ali wrote:

 How can I draw a google line chart on a google map.

 I know I can draw lines between gps coordinates (lat/lon) but how can I
 draw an elevated line with a height and change the view on it ?

 For example, If I have few values 10,12,13,12,10 and each value is
 associated with latitude/longitude value.

 How can I plot these points on a map where the value will be the
 elevation or height of that point?

 Something like this


 https://lh5.googleusercontent.com/-0AYfzgjosUY/VHL1mhGA83I/AvA/2yfyr2o9cpI/s1600/linemap.png


 https://lh5.googleusercontent.com/-GlQFVUy-Mp4/VG8LRJzpWnI/Auw/pQa3AlF1xNQ/s1600/LineOnMap.png


 Thanks

  --
 You received this message because you are subscribed to the Google Groups
 Google Visualization API group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to google-visualization-api+unsubscr...@googlegroups.com.
 To post to this group, send email to
 google-visualization-api@googlegroups.com.
 Visit this group at
 http://groups.google.com/group/google-visualization-api.
 For more options, visit https://groups.google.com/d/optout.


-- 
You received this message because you are subscribed to the Google Groups 
Google Visualization API group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-visualization-api+unsubscr...@googlegroups.com.
To post to this group, send email to google-visualization-api@googlegroups.com.
Visit this group at http://groups.google.com/group/google-visualization-api.
For more options, visit https://groups.google.com/d/optout.


Re: [visualization-api] Re: Draw line chart on Google map

2014-12-01 Thread 'Sergey Grabkovsky' via Google Visualization API
Wow. I hadn't seen that before. That's actually really cool. In any case,
Xibis actually creates a canvas on top of the map and draws their own
chart. I think Google Maps provides an API to get where a lat/long would be
on the screen, and which lat/long a screen coordinate maps to. They also
probably have a way of getting the tilt and rotation of the map, which is
how they render the shadow. I hope that helps.
On Mon Dec 01 2014 at 3:10:12 PM Rishad Ali mrishad...@gmail.com wrote:

 This is the link they have done it.

 http://www.xibis.com/news-and-insight/xibis-adds-3d-data-to-google-maps







 On Monday, 24 November 2014 09:09:10 UTC, Rishad Ali wrote:

 How can I draw a google line chart on a google map.

 I know I can draw lines between gps coordinates (lat/lon) but how can I
 draw an elevated line with a height and change the view on it ?

 For example, If I have few values 10,12,13,12,10 and each value is
 associated with latitude/longitude value.

 How can I plot these points on a map where the value will be the
 elevation or height of that point?

 Something like this


 https://lh5.googleusercontent.com/-0AYfzgjosUY/VHL1mhGA83I/AvA/2yfyr2o9cpI/s1600/linemap.png


 https://lh5.googleusercontent.com/-GlQFVUy-Mp4/VG8LRJzpWnI/Auw/pQa3AlF1xNQ/s1600/LineOnMap.png


 Thanks

  --
 You received this message because you are subscribed to the Google Groups
 Google Visualization API group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to google-visualization-api+unsubscr...@googlegroups.com.
 To post to this group, send email to
 google-visualization-api@googlegroups.com.
 Visit this group at
 http://groups.google.com/group/google-visualization-api.
 For more options, visit https://groups.google.com/d/optout.


-- 
You received this message because you are subscribed to the Google Groups 
Google Visualization API group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-visualization-api+unsubscr...@googlegroups.com.
To post to this group, send email to google-visualization-api@googlegroups.com.
Visit this group at http://groups.google.com/group/google-visualization-api.
For more options, visit https://groups.google.com/d/optout.