Is it possible to use image web URL instead of local pin image for map view control in Smartface App Studio - smartface.io

I tried to assign image url like 'http://someimageurl.png' to the selectedImage & unSelectedImage properties while adding pin to the map view control.
But, still showing the default image.
Is there a way to use image url for pin rather than local resource image?
Thanks in advance.

It is not possible to use a url for pin images on map object.
You can use that kind of image url's for image object, but not for map object.

Related

How to get picture of any location in iOS

I want to get image of any location and use this image for showing a view. I will look like a MKMapView but it's faster (I think so)
For Google Map, there is api to do : https://developers.google.com/maps/documentation/staticmaps/
But what about map of iOS? Can you help me?
--UPDATE--
Solution: MKMapSnapshotter
Under iOS7 you can use MKMapSnapshotter to asynchronously generate MKMapSnapshot objects which you can ask for their UIImage representation.
Otherwise your best option is to use a MKMapView and to set userInteractionEnabled to NO.
Alternatively Google Maps provides a static maps API.

create fliping book with images

I want to create a application in which i required following function
create array of images in view and move like page turning effect orientation change then same view will execute. tap on image then zoom in or zoom out image.
double tap then upload bigger image from web-services.
on image when select part of image then open url of that image.
Try these Sample code
https://github.com/devindoty/iBooks-Flip-Animation
http://oleb.net/blog/2010/06/app-store-safe-page-curl-animations/
https://github.com/mtabini/AFKPageFlipper
AFKPageFlipper will help you with the page-flip-effect. The other questions: First, try to solve it self (zoom, ...) and if you have problem ask a new questions here.

How to save image on Google map in iPhone

I have map application in which I have a button. On clicking that button the user can capture image through iPhone and the image that is captured by the user should be save on the map at the particular location where he has captured the image.
If you know where you want to display image on map then you have two ways to display particular image on map.
1. You can add image as a overlay on map.
Below link contains code in question: code link
2. Add image as a annoation. (http://blog.asolutions.com/2010/09/building-custom-map-annotation-callouts-part-1/)
Use core location to get the user current location, so that you can get his location where he is capturing image and then show that location on map.
By "save on the map" I'm assuming you want to show a dropped pin on the spot where the photo was taken- to do this, you'll need to:
Get the user's current location with CLLocationManager and CLLocationManagerDelegate.
Use UIImagePickerController to let the user take the photo.
Use MKAnnotation and MKPinAnnotationView to drop a pin where the user's location is. You can even insert the picture in the annotation view's callout.
A bit of Googling will net you tutorials using these classes. This one looks decent.

Flexible iPhone button

Is there a way to create a flexible iPhone button from a single graphic, like Android does with 9-patch drawables?
For example, would it be possible to use this graphic to create a wider button?
Yes. Load your image into a UIImage, then use stretchableImageWithLeftCapWidth:topCapHeight: with appropriate parameters to build a copy of the image with hints about the proper end caps. You can then assign this new image to the button.
See UIImage Class Reference.
Yes, look into the UIImage method -stretchableImageWithLeftCapWidth:topCapHeight:

How do I specifically get a static Web image url and apply it to an iPhone application blank view?

In building an iphone app, I can render a blank view, (say that's all I have, just a generic, full screen view) and I want to populate in that view an image from the web, say, "http://www.mypicture.com/mypicture.jpeg". I want to do this as fast as the network allows and not use the photo roll or any part of the os that the user can see. How would I implement this? Also, how do I capture an snapshot (fullscreen or not) image from Google street view without the user knowing so? Thanks all for your anticipated time...xobmo
Use this example, replacing the html with an <img> tag with your image as the src attribute.
Alternately, you can base64-encode your image as in this example, but I figure you'll probably do what's easiest.