Comments (7)
I have this issue too and I'm not using TiShadow. Do you still encounter this?
from ti.map.
Closing as I think this is due to running the app in TiShadow .
from ti.map.
Hi @bitfabrikken,
Would you consider re-opening this issue?
I too am getting an app crash when starting to drag an annotation (not using TiShadow)...
Environment:
ยท Ti SDK 6.0.0.GA
ยท iOS 9.3/10 (device & simulator)
ยท ti.map 2.8.0
Thank you!
ยท Jason ๐
from ti.map.
@designbymind have you tried removing the eventlistener pinchangedragstate from the map, and seeing if it works?
from ti.map.
@bitfabrikken โ prior to commenting, for some strange reason, I hadn't thought to try that out...
Below are the results I am getting without eventlistener pinchangedragstate
attached to a ti.map view:
draggable:true
property does work as expected- if an eventlistener
click
is attached to the ti.map view:- when beginning the drag state, e.clicksource returns map (and the correct initial e.annotation properties (latitude/longitude) are provided)
- when ending the drag state, e.clicksource returns pin (and the new/correct e.annotation properties (latitude/longitude) are provided)
Seems like that 2nd firing of the click
eventlistener (after the drag has completed) could be considered an unwelcomed one?
from ti.map.
@designbymind Please file a JIRA issue for this if you feel this is incorrect. That's the only way we can schedule and fix your (possible) issue. Thx!
from ti.map.
For the map/pin clicksource, it's a native behavior caused by the mapView:didDeselectAnnotationView:
being called when you start dragging. iOS interprets the gesture as deselecting the annotation because of the dragging, so this is the intended behavior to get the map
clicksource again. When you stop dragging (releasing the annotation), the annotation gets natively selected again and the clicksource is pin
again. I hope that helps a bit!
from ti.map.
Related Issues (20)
- 4.3.1 Android - null reference for onCameraIdle() HOT 5
- updateLocation of annotation with animation HOT 2
- Android - addPolygons is not a function HOT 1
- Cluster click auto zoom on iOS does not work
- Android - After removeAllAnnotations, map click event still returns old annotation HOT 1
- Android: Clustering only render for at least 5>= annotation and not for less than 5. HOT 2
- [Android] addPolygon() - Unable to convert java.util.HashMap HOT 5
- FragmentManager: No view found for id 0x2 (unknown) for fragment SupportMapFragment HOT 3
- API: Map.View.animate HOT 4
- Android: Cluster animation error
- ti.map.TiUIMapView.release Crash HOT 3
- On Android there is no zoom method HOT 1
- Marker info windows not opening everytime/click not working HOT 1
- Android: Marker.remove() on a null object reference
- Android: Multiple maps cause Fragment crash
- Android: Click on pin is not fired for normal markers
- Vic
- iOS: leftButton not always responding to click HOT 16
- iOS add parity for minClusterSize
- Old pin style annotations HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ti.map.