export map itinerary to use it for a device like (TomTom) - gpx

I have a map/direction based application using Google Maps API v3. So far I have been able to display the map and show directions between 2 locations.
Question
Can I export the direction display from this map to a device like tomtom, to show the itinerary on it?
any advices , what should i search for ?

Related

How to create custom search bar with autocomplete for the map using mapBox?

Cant find any way how to connect custom input with the mapBoxGeocoder and its autocomplete.
Dont want to write my own autocomplete with fetch data or use listener on custom input to paste value in maps control. Is there any built in ways ?
I checked API docs, but there they connect controls to directly to map and do not provide any connection to custom input.

Howto use Google Analytics with a multi parameter search

I have to integrate GA in project which uses a multi parameter search which should be tracked in detail.
Imagine a web shop selling computers with the following choices (some of them are even multi-selects):
RAM size
Type of computer (e.g. laptop)
Color
...
Using the Site-Search option in GA in conjunction with virtual pageviews it caught my eye that there is a restriction, that you can only define 5 parameters. This seems to me being a standard scenario but google search doesn't help me finding an answer.
How would you implement/configure a multi search scenario like this in GA?
You could set up a hit-scoped custom dimension for each parameter (RAM, Type, Colour etc.). Then, when the search results are shown, you would push something like the following to the Google Tag Manager dataLayer:
dataLayer.push({'ram_size' : '8gb', 'type' : 'Laptop', 'Colour' : 'Grey'});
Then in GTM, you would need to set up a variable for each one of these and pass those variables to the GA page view tag in the custom dimensions section of the tag configuration.

City proximity search drupal

I need to implement a proximity search in Romania for articles based on the city name that has been inserted in a form field in a Drupal project. After browsing a lot of articles I see there are a lot of suggestions and solutions for zip codes and streets , but I only need the city geocodes ( lets say the center of that city ).
Where can I find such a database to insert into my project? Or is there another solution for this problem?
I would use the Geofield module to store the coordinates and then the Geocoder module to populate the geofield from the city field that you already have.
With Geocoder you can choose which service you want to use Google Geocoder, Yahoo, Bing etc
You can the use Gmap module or Open layers and Views to display your results.

is it possible to return all photos (in all sets) organized by set?

I've got a public flickr with multiple sets.
What I want to do is, with one API call, get all photos from all the sets but have each photo tagged by set.. is this possible?
I can only seem to find API calls that will get all photos for 1 set (flickr.photosets.getPhotos), or all photos in all sets (flickr.people.getPhotos) but can't seem to find one that will get all photos in all sets but somehow tag/id what set each photo belongs to...
possible?
thanks!
You may do the following:
1.get the list of sets for specific user by using
flickr.photosets.getList
2.loop through all sets that the user has and get photos using
flickr.photosets.getPhotos
3.Using
flickr.photos.addTags
to add tags to all the photos in this set

iphone: creating view controller programmatically on the run time

This is what I am trying to do, when my apps load, user is presented with a bunch of options ( These options are coming from a server) and when user selects one of those options I have to create a new tab bar controller with number of tabs, their name, their layout all coming from a server in the xml format. So the first question is it possible to do this in iphone, that is create all the view controller programmatically on the run time, if yes can you please point me to some reference, i have been searching in google, but may be my search terms are not good, I am not getting back any results.
Of course, it's possible. Anything that can be done using IB can also be done in code. In your particular case, you have to subclass the UITabBarController class and then use the viewControllers property to populate the bar at runtime, depending on your XML.
Please refer to the class reference at Apple.com for more information.
Possible duplicate of iPhone -- create UITabBar programmatically?

Resources