I would like to Create a Custom Map !
There is a way to do it so as to add this map to Xcode ?
I have an example in this picture below:
http://a1.mzstatic.com/eu/r30/Purple2/v4/92/d6/a8/92d6a818-1966-3a87-da0e-1aa6251d7e6a/screen568x568.jpeg
Thanks
Many way to do it.
Easy one is add UIImageView to UIScrollView and enable zoom on scrollview.
this way you can have basic map not good in memory.
Or, you can use some opensource like Mapbox, you can custom tile image map.
https://www.mapbox.com/
Related
I want to implement custom slider
i tried a lot and get this https://github.com/jane/JaneSliderControl but is not in objective-c.Can anyone help for creating custom slider
If you want to create your own custom UI, why don't you try a very handy tools like PaintCode.
With PaintCode, you can create any custom UIs without any hurdles. After creating custom UIs in PaintCode, you can generate code in Objective-C, Swift as per your requirement and embed in your project.
Here are some of the tutorials to start with PaintCode.
https://www.raywenderlich.com/92972/paintcode-tutorial-for-developers-getting-started
https://www.raywenderlich.com/97941/paintcode-swift-tutorial-part-2-custom-progress-bar
https://www.youtube.com/watch?v=4jovZyBMdrQ (sample slider using paintcode)
https://www.youtube.com/watch?v=yweBm-UpId4
I am currently trying to look for a solution for disabling scrolling on a MKMapView while a person is zooming in/out. Does anyone know of a solution to this? Thanks!
I would check out this control which keeps the map centered on a point when zooming and it sounds like it should be able to achieve you desired effect. I'm not sure if you're using Objective-C or Swift since there is no tag, however you will be able to use this with either languages.
SKMapsCenter
in my Application I like to use the frontcamera to display the user on the iPad/iPhone. This is already working. Now I like to have a simple transparent "HUD" floating over the cameradisplay. It's just a circle which should fill itself, so it is quite a simple animation. Since I am new to iOS Developing I am not sure which framework to use. Unfortunately there is no canvas like in android/html.
Can you please recommend a framework for doing the animations?
I would be very happy for a nice start into my next assignment!
Ios creating simple camera overlay in Xcode how?
The above question provides an answer which should help you add your own view over the top of the camera feed.
Make this an instance of a custom UIView subclass of your own which has the desired functionality.
UIKit has plenty of functionality for an animation as basic as the one you are describing. Look at setting the corner radius of your view.layer object and maybe animating a view from bottom to top using [UIView animateWithDuration:].
I am trying to add an overlay to iOS MapKit in order to show floor plans. However, I am unsure about the best way of doing this. If I add the floor plans by using an MKOverlay, will the floor plans be loaded lazily or do I need to find out which part of the map is being displayed and update overlays thereafter? I also looked at using MKTileOverlay, as it is using lazy loading, but I have the impression that it should be used for completely covering of the map and not only to add to the existing one. Is this correct?
Yes, you are right MKTileOverlay can cover whole map with tiles and Yes it is using lazy loading.
Use MKOverlay if you are not willing to replace native look and fill of map. You can also achieve lazy loading for MKOverlay too.
Note: MKTileOverlay will not remove your already existing MKAnnotations and MKOverlay.
MKOverlay is a protocol, not a class. You want MKTileOverlay as of iOS 7. Things are lazy loaded according to what portion of the map is currently shown.
You might find this useful as a reference on how the tiles are numbered and organized:
https://www.mapbox.com/foundations/how-web-maps-work/
As for covering Apple's map, this will happen by default, but you can also adjust the MKOverlayLevel used to place it between Apple's base map and labels layer, or you can use canReplaceMapContent = YES if you want to disable Apple's maps entirely.
I wanna accomplish the following, i wanna display a static map image that i have on UIMapView to use the benefits of the zooming and annotation, i've search very hard and i came up with these solution.
There is a library called route-me that give you the ability to customize the map, change the color of the map, specify a predefined road and building, highlight them, but it didn't help me in my issue.
I've looked on apple example that using the MKOverLay class, HazardMap, KMLViewer but they are not showing how to use an image to replace it with the map.
All i want is to display a map image that i have for a place and use it in UIMapView. can anyone put me in the right direction.
Thx in advance.
I replied to this question in this other post. Maybe it helps you:
How do I create an image overlay and add to MKMapView?