BuddyBeacon API

posted by cw on Tuesday, April 06, 2010

We have added an API that lets you access your BuddyBeacon live tracking information in different ways.

There are now three ways that you can directly access your BuddyBeacon:

1) Link directly to your BuddyBeacon on the ViewRanger website,
2) Embed the BuddyBeacon map in your website,
3) Use the beta version of our API to create your own maps, apps, and mash-ups.

More details: http://bit.ly/aZ4NC1

You can also set the image that is used to show your current location. We've added a new parameter if you are linking to the BuddyBeacon, or are embedding the BuddyBeacon map in your own webpage.

The "icon" parameter lets you specify the image that is used to show the last position.

There are some built-in icons:
paramotor_red
paramotor_green
paramotor_blue
disk_red
bike_green
bike_red
bike_yellow
cyclist
hiker_yellow (this is the default icon)
hiker_white

Example:
http://www.viewranger.com/portal/new_ptbuddybeacon.php?uid=craig5800&fbwidth=400&pin=1234&icon=paramotor_red

To use your own image as the icon, then include the URL (note that the URL needs to be "in quotes"

Example:
http://www.viewranger.com/portal/new_ptbuddybeacon.php?uid=craig5800&fbwidth=400&pin=1234&icon="http://www.viewranger.com/portal/portalimages/betty-stogs.gif"

Labels: , ,

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home