Home  ·  Demo  ·  HOWTO  ·  FAQ  ·  Blog  ·  Contact us

Forums

You are not logged in.

#1 2008-08-23 19:06:33

gaurav517
New member

Using API?

hi everyone,

can anyone please suggest me on how to use the instamapper api to show my current position on my website.
In the information, it says that making http request through http://www.instamapper.com/api?action=g … ey=<API key>&num=<int>, we can use its service.
it gives the position, but how can i use this position to show them on google map.
this request fetches the html page with data...
basically i want to ask ..how to access the data fetched by above http request..to use it furthur for google map.

please reply....
thanx

Offline

 

#2 2008-08-23 21:26:05

admin
Administrator

Re: Using API?

There is an easier way to embed a map -- go to "Manage devices" and click on "sharing".

If you really do want your own map, here is a good place to start:

http://code.google.com/apis/maps/

Offline

 

#3 2008-08-26 14:38:24

gaurav517
New member

Re: Using API?

i have used google map api..so thats not the problem...
the only problem is to get data from your api...
like making http request through your api gives an html page.....
how can i use your api to get the value of longitude and lattitude in real time to use them on google map dynamically??
can you please give me some idea???

Offline

 

#4 2008-08-26 19:36:17

admin
Administrator

Re: Using API?

the API returns CSV data that should be very easy to parse. not sure what confuses you.

Offline

 

#5 2008-08-27 00:35:00

gaurav517
New member

Re: Using API?

ohh...this is what i wanted to know..
it returns csv data...it was not mentioned anywhere..
dont you think it would be better if it would be xml data...
anyway..thanks a lot..

Offline

 

#6 2008-08-27 07:47:16

admin
Administrator

Re: Using API?

We will be adding json soon

Offline

 

#7 2008-10-13 11:21:53

dimitrizetzsche
New member

Re: Using API?

do you guy's know a good tutorial for such HTTPrequests? and parsin CSV data? I am not that kind a pr0skilled person smile

thank a lot anyway.

Offline

 

#8 2008-10-15 04:21:59

sieyin
New member

Re: Using API?

This is what I've done so far:

http://curua.com/u/javi/map/bb/

Offline

 

#9 2008-11-18 11:29:23

Voltaic Shock
New member

Re: Using API?

sieyin wrote:

This is what I've done so far:

http://curua.com/u/javi/map/bb/

That's pretty sweet!

I need to create a page of my location.

Offline

 

#10 2008-11-19 13:25:32

telf
New member

Re: Using API?

Would much prefer XML to either CSV or JSON......

Offline

 

#11 2009-02-11 18:48:00

Re: Using API?

Here is my latest effort. It is a KML that can be displayed in Google Maps or Earth with several devices represented on a single map with refresh capabilities. This requires some simple php and KML scriptingbut it works.

http://maps.google.com/?ll=%20%2038.268 … acking.kml

Offline

 

#12 2009-03-18 09:48:49

ehunt
New member

Re: Using API?

Just FYI, for most of your transforms between CSV/TSV/GeoRSS/KML, google's ajax feed api makes almost all of this a matter of punching a URL into a website.

Google for their Ajax playgrounds. Embedding your own MAP with a custom feed, even more layers to show additional markers, is done for you.

As this might imply, you can get pretty serious with the map stuff.

Also check: www.cloudmade.com

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2008 PunBB