Apple Maps - Find destination/location - How to? - ios6

I'm still a noobie to app making, and i've been trying to read some of the documentary for the MapKit, but im still clueless on how to do this.
I have a textfield on TabBar2, and Apple Map on TabBar1.
How do i make the textfield on TabBar2, searchable for destinations like adresses ?
and then show the found destination, on the map on TabBar1 ?
I hope this made some sense.
Thanks in advance

One way to do it is to use MKLocalSearchClass which searches for key words and can be tricked to look for addresses as well. You need to incorporate MKLocalSearchHandler in your class in order to produce the results. You can then add the results in a map view. Apple has a sample code which works basically the same way. It creates a search based on keywords and shows the location of those keywords nearby the users location. For example coffee or movie or etc. the code can be changed to look for a address or anything else you want. Any how here is the link to the sample code, hope it guides you to the right direction.
Map Search Sample Code

Related

shapefile for mumbai city areawise or section wise

please don't kill me if this question is listed anywhere else, i really searched high and low to find answer to this question.
i am working on a project in which i need to plot data on Mumbai city map section wise or area wise but i am not able to get Shapefile for the same. can anyone please provide me the link where i can get this Shapefile? or guide me on creating one using QGIS??.I mentioned QGIS because i know a little about OGIS and hence it will save time.Also i tried certain links which are listed below. but i couldn't find what i need.Guys it would be a great help because i really need this and i am stuck on this from few days.Also i mentioned shapefile because these are easy to manipulate, later i will convert it into geoJSON and work on it so if geoJSON files are there then it would also help.
Note: only the important links are listed:
1. http://monsoon.mcgm.gov.in:8080/RESTFulWS/WardMaps.html0
2.http://www.naturalearthdata.com/downloads/10m-cultural-vectors/
thanks.

Implementing basic next/previous picture

I'm trying to convert the Adjuster example mentioned here: http://agiletoolkit.org/learn/understand/view/interactive
into a View that is able to show me the next/previous picture of a list of given images.
I guess the number in the example could be an index into an array of pictures.
I'm just not sure how to provide the list of pictures, when all the code is put in init() for the View, so no way to give it the picturelist before that...
Should I use memorize/recall for this list also to prevent it getting lost upon reload ?
is there another example that might help me?
I think you what you are doing can be much easier done with a classic JavaScript Lightbox script. You would supply it list of images and it would show one full-screen.
If not, you can use this:
https://gist.github.com/romaninsh/7217119
This will give you slides similar to the ones on http://agiletech.ie/
Be advised that this code is a little old.

How to display dynamic marker label info from database

For the past month or so I have been trying to solve this problem. I checked the website extensively, including all tutorials I could find, and even bought a book. I previously posted but have had no luck. Hopefully I have more info to get some help.
Basically I have a map in my FileMaker database. Everything works fine, except for one thing I would like to change. When I roll over each marker I would like to see the label show the customers name, instead of the static "Marker 1", "Marker 2", etc.
I included a link to dropbox that has the html, the MarkersArray custom function and hopefully all the info that's passed to the Html that may be needed. Through much trial and terror, I can't figure out how to make it happen. Any help or guidance would be greatly appreciated.
Thanks
Steve
https://dl.dropboxusercontent.com/u/71328624/GoogleMapsDocs/html.txt
https://dl.dropboxusercontent.com/u/71328624/GoogleMapsDocs/ss1geo.png
instantiate a variable that calculates the company name inside of your for loop. replace "Marker" +i with the variable.

How to get city code weather in AccuWeather?

Have someone ever use AccuWeather to search your country weather? I want to get my city weather code in AccuWeather who can help me? The code generate has form like this: EUR|DE|GM014|TORGAU. I can't find my city code (Phnom Penh, Cambodia)
to find your location
use this link provided by the help in ubuntu
http://thale.accu-weather.com/widget/thale/city-find.asp?location=
add your location at the end of the link
http://thale.accu-weather.com/widget/thale/city-find.asp?location=PARIS
For Phnom Penh, the code you seek is ASI|KH|CB012|PHNOM PENH.
Now in general, getting that old style format is difficult because around the end of 2009 / beginning of 2010 they did away with that style of coding stations and replaced it with a newer, perhaps more friendly model. So new style,
http://www.accuweather.com/en/kh/phnom-penh/49785/weather-forecast/49785
will give you the current for Phnom Penh.
If you really really really need to find the old style codes, there is an awesome list here. I would recommend you download the list from here as it is gold at this point and then you can programmatically access it however you see fit. Regex would be a good bet as the format seems to be pretty consistent.
Find your (nearest) city here: http://pastebin.com/dbtemx5F

Google maps marking path between 2 points over streets

Maybe it's not the first similar question but anyway:
I'm looking for a kind of functionality to
make available to mark the vehicle path across the
city streets between two points in city (for example A and B),
including the turns and etc.
Is there some facilities?
If not please offer some idea how it can be done.
Will be appresiated for any help :)
Hope I was clear.
You can manually construct the URLs based on the parameters that Google Maps has. You can see all the Direction parameters (and others) here.
A basic URL with a source and destination address would look like this:
http://maps.google.com/maps?f=d&hl=en&geocode=&saddr=ENTERSOURCEADDRESS&daddr=ENTERDESTINATIONADDRESS

Resources