Get capture date from mapbox satellite imagery - mapbox

I am following the mapbox tutorial here. I have the static map displaying nicely inside of my web page. I would like to include a capture date on the image provided by map box.
I am using the mapbox.satellite mapId. So, my url looks like this:
https://api.mapbox.com/v4/mapbox.satellite/${lng},${lat},19/1000x700.jpg90?access_token=${accessToken}
My access token is provided by Digital Globe in a trial account. Does anyone know if the capture date is available, and if so, how to retrieve it?

Related

Google maps url to goole maps sdk

Can I use shared location or route url via google maps in sdk. For example, can I open the route url I created on google maps in my own application? example link: https://goo.gl/maps/n15Bt48Bu5nWap8B8
Thanks
Yes you can use roads API
https://developers.google.com/maps/documentation/roads/snap
The Roads API takes up to 100 GPS points collected along a route, and returns a similar set of data, with the points snapped to the most likely roads the vehicle was traveling along. Optionally, you can request that the points be interpolated, resulting in a path that smoothly follows the geometry of the road.

Single Line Address for MapQuest

I'm trying to provide other map options besides just Google. Unfortunately a single HTTP query (e.g. location=123+main+street) only seems to be readily supported by Google.
I had no luck trying to find anything about embedding in the documentation and decided to email them directly:
The MapQuest business products
(https://developer.mapquest.com/documentation/) support both single
line input "location=1555+Blake+St+Denver+CO+80202+US" and the
advanced, 5-box method
("street=1555+Blake+St&city=Denver&state=CO&postalCode=80202&country=US").
Our API and SDK also lets you add the mapping/geocoding/routing
functions to your site without embedding links to the consumer site at
www.MapQuest.com.
Okay, so location=123+main+street should be supported in theory. However no example was provided. So using the iframe URL from the more client-oriented approach I tried the following without luck:
https://www.mapquest.com/embed/?location=1555+Blake+St+Denver+CO+80202+US
That just shows the map of the US as a whole.
How do I get the single HTTP query location to work for MapQuest embedding?
Correct: location=1555+Blake+St+Denver+CO+80202+US (single HTTP query).
Incorrect: street=1555+Blake+St&city=Denver (multiple HTTP queries).
It looks like a mix of MapQuest APIs and MapQuest.com. Check out the Link to MapQuest documentation. I think the Map a Location > Fielded Location is what you're after.
On this page: https://developer.mapquest.com/documentation/tools/link-to-mapquest/
Scroll down to Link to MapQuest Wizard.
Click on Map a Location.
Click on Single Line Location.
Click on the Run Sample with Embed View Specifier button.
Copy the URL from the new tab.
An example of the working MapQuest single HTTP query embedded page:
https://www.mapquest.com/embed/search/results?query=1555%20Blake%20St%20Denver%20CO%2080202&centerOnResults=1

Bing maps pushpins in REST

I am using bing maps REST services and I need to add pushpins but surprisingly it's giving me a hard time. I found out how to easily add pushpins in AJAX services, but that would need me to include scripts and stuff to my pages which I'd really rather skip. I tried searching the internet for information on how to add pushpins in REST ( or simply an iframe with a URL ) but I failed to find any useful such. Does anyone know how I can add pushpins in REST?
EDIT: I'm using dynamic maps based on this link http://www.bing.com/maps/embed/viewer.aspx?showCopyright=false&cp=43.835109710693~25.957630157471&lvl=1&w=250&h=350&sty=r
Assuming that you are using the Bing Maps Imagery REST service, you will be able to add pushpin based on the URL parameters, see the MSDN: http://msdn.microsoft.com/en-us/library/ff701724.aspx
Here is an sample request that will allow you to add pushpins, take a look at the pp parameter:
http://dev.virtualearth.net/REST/v1/Imagery/Map/Road/47.619048,-122.35384/15?mapSize=500,500&pp=47.620495,-122.34931;21;AA&pp=47.619385,-122.351485;;AB&pp=47.616295,-122.3556;22&key=BingMapsKey
If you are using embedded maps, here is the list of parameters: http://msdn.microsoft.com/en-us/library/ee692180.aspx

How does foursquare add a custom image annotation on their Open Graph map?

When foursquare works with Open Graph after a user has performed a checkin on their application (and assuming said user is linked to Facebook), foursquare posts to Open Graph a sample of this checkin data. What's interesting is that they do not have a standard map. Their map has a pin point on it in which an annotation embeds a custom image. It looks a little something like this:
I'm curious how this is done? I can get a regular map to show up with a pin point or a simple image view, but I can't get this custom annotation embedded within a map view.
From what I can tell, there is nothing in the documentation which shows how to further customize the Map layout or add any additional meta data to a GeoPoint object in order to get this additional functionality.
It's currently only in use by Foursquare - effectively it's a test right now.
There are plans to open it up more widely but there's nothing to announce right now - it'll be announced on the blog when opened up further - https://developers.facebook.com/blog/

How to get Bing 'daily mobile wallpaper' address

is There anyone know how to get the Bing 'daily mobile wallpaper' address.
if you visit bing.com via your IPhone, you will see a beautiful wallpaper.
Bing change it everyday, and provide two resolution format for Portrait and landscape.
for example, today's Bing mobile wallpaper are from
http://www.bing.com/fd/hpk2/LouetLighthouse_EN-US2132342110_360x480.jpg
http://www.bing.com/fd/hpk2/LouetLighthouse_EN-US2132342110_480x360.jpg
appreciate your help in advance.
Eric
parse this url http://www.bing.com/HPImageArchive.aspx?format=xml&idx=0&n=10
as xml.
you can change value of N to change number of images.
Unfortunately the URL for the wallpaper changes everyday. The only way to would be to scrape the HTML of the page and find where it references the image.
Another similar method would be to use www.istartedsomething . com / bingimages, a site which archives the Bing images. They provide a RSS feed via feedburner for more easy scraping: http://feeds.feedburner.com/bingimages