Advertise Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Your First iPhone App
($1.99)

iPhone Code Generator
($9.99)

Calcuccino Programmers' Calculator
($2.99)

DataFon(Build Apps on Windows)
(free)

Infinote Pinboard for Todos and Notes
(free)

picplz
(free)

poG
($2.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum > iPhone SDK Development Forums > iPhone SDK Development

Reply
 
LinkBack Thread Tools Display Modes
Old 02-11-2009, 10:22 AM   #1 (permalink)
Registered Member
 
Join Date: Oct 2008
Posts: 79
Default Replicate "Drop Pin" effect like in Google Maps?

Hi,

I was just wondering if there is an undocumented class for the "Drop Pin" effect seen in the Google Maps app.

The Netter medical app (link below) uses it or has replicated it. What would be the best way to replicate the effect if it is not available - core animation?

http://itunes.apple.com/WebObjects/M...282143480&mt=8

Cheers in advance.
TOMSOFT is offline   Reply With Quote
Old 02-11-2009, 03:44 PM   #2 (permalink)
Registered Member
 
Join Date: Sep 2008
Location: London, UK
Posts: 976
Default

Quote:
Originally Posted by TOMSOFT View Post
Hi,

I was just wondering if there is an undocumented class for the "Drop Pin" effect seen in the Google Maps app.

The Netter medical app (link below) uses it or has replicated it. What would be the best way to replicate the effect if it is not available - core animation?

http://itunes.apple.com/WebObjects/M...282143480&mt=8

Cheers in advance.
No class for this. They are just trapping the touch and drawing an image of the pin at this point. Then clicking the pin, show a view with the text etc.
wuf810 is offline   Reply With Quote
Old 04-02-2009, 05:03 AM   #3 (permalink)
New Member
 
Join Date: Apr 2009
Posts: 1
Exclamation

I have a similar question. I have a UIView that displays a PDF and that UIView is added to a UIScrollView. I wanted to have a google maps type pin implementation where I can drop pins at specific coordinates on the UIView. I am able to do that by adding subviews to the UIView. However, the problem I run into is that when the UIView resizes, the subview resizes with it. I wanted the subview to remain at original size, while being anchored at the original drop location. (Similar to pins on google maps remaining at same location, and not changing size at different zoom levels).
Any suggestion on what the best way would be to accomplish this?
csulman is offline   Reply With Quote
Old 04-02-2009, 09:49 AM   #4 (permalink)
Registered Member
 
Join Date: Aug 2008
Posts: 80
Default use route-me

I think you'd want to use the open source route-me map control which supports all of those things you mention. You'd have to turn your PDF into map tiles, but there are free tools to do that for you as well...
ecume is offline   Reply With Quote
Old 06-26-2009, 01:08 PM   #5 (permalink)
Registered Member
 
Join Date: Nov 2008
Posts: 11
Default

Quote:
Originally Posted by csulman View Post
I have a similar question. I have a UIView that displays a PDF and that UIView is added to a UIScrollView. I wanted to have a google maps type pin implementation where I can drop pins at specific coordinates on the UIView. I am able to do that by adding subviews to the UIView. However, the problem I run into is that when the UIView resizes, the subview resizes with it. I wanted the subview to remain at original size, while being anchored at the original drop location. (Similar to pins on google maps remaining at same location, and not changing size at different zoom levels).
Any suggestion on what the best way would be to accomplish this?

Did you ever find a solution for this..? I am trying to do the samething.
P1yrsRUS is offline   Reply With Quote
Old 09-07-2009, 10:27 PM   #6 (permalink)
Registered Member
 
Join Date: May 2009
Posts: 3
Talking Hi

Hi, I think "UICalloutView" can solve this problem for you , pls check this un-official head file UICalloutView.h, this will just create a Google-Map like ToolTip View for you, wish this will give some help to you.

Regards.

Eric.Leopard
eric.leopard is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


» Advertisements
» Stats
Members: 51,374
Threads: 52,830
Posts: 225,477
Top Poster: BrianSlick (3,576)
Welcome to our newest member, bob8caldwell
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 02:27 PM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0