POWERPOINT
+A FAIRE DE TOUTE URGENECE !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
+- DIRECTIONS
+- Ne pas oublier de changer l'adresse dans détails - tup administration
+- ADRESSE PAS AFFICHEE / MAJ
+- Retour accueil : la map disparait
+- Corriger bug : gps automatique
+- Corriger bug : double tap nécessaire pour afficher adresse
+- Finir PPT
+- Détruire le ticket après envoi
+
+!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
+
+
+
+
+
+
+
+
+
+
+
+
+local function mapAddressHandler( event )
+
+ -- on supprime tous les marqueurs déjà présents à chaque activation
+ map:removeAllMarkers()
+
+ -- on récupère la position de l'utilisateur
+ local location = map:getUserLocation()
+
+ -- on centre la map sur la position
+ map:setCenter( location.latitude, location.longitude, true )
+ -- on place le marqueur
+ map:addMarker( location.latitude, location.longitude )
+
+ -- on récupère les coordonnées pour l'envoi plus tard
+ coordT = ""..location.latitude..","..location.longitude
+
+ labelAdresse.text = "Recherche de votre position .."
+
+ if event.isError then
+ print( "mapView Error: " .. event.errorMessage )
+ labelAdresse.text = "Event.isError"
+ else
+ labelAdresse.text = "Recherche de votre position ..."
+ --print( "The specified location is in: " .. event.city .. ", " .. event.country )
+ number = event.streetDetail
+ street = event.street
+ postalCode = event.postalCode
+ city = event.city
+ country = event.country
+
+ -- on récupère l'adresse sur la carte
+ local k = ""..number..", "..street.." "..postalCode.." "..city.." "..country
+
+ -- on stocke l'adresse
+ adresseT = k
+
+ -- on tronque l'adresse pour éviter qu'elle prenne toute la place
+ if #k > 34 then
+
+ labelAdresse.text = k:sub(1,34).."..."
+
+ else labelAdresse.text = k
+
+ end
+ end
+end
+
+local function mapLocaliser()
+
+ -- on récupère l'adresse la plus proche des coordonnées GPS
+ local nearestAddress = map:nearestAddress( location.latitude, location.longitude, mapAddressHandler )
+ ticket.labelAdresse.text = adresseT
+
+end
+
+
+
+
+
+
+
+
+
+
+
TUP
+144x82 cm
+
+544 x 310
+570 x 320
+
+
+http://tup.url.ph/gestion/map.php?lat=NDUuNzMwODY4NjMyNjAwMDE0&lng=NS4wMDUxMzA3Njc4MjIyNjY=&myCoord=MzcuNDQ4NDg1LC0xMjIuMTU4OTEx&adresse=1OENADKPMEAL%22%20)
+
+
+!! Corriger bug GPS
+utiliser ça
+ Runtime:addEventListener( "location", locationHandler )
+
+
+
Présentation du projet
Qu'est-ce que TUP ?
Technologie employée : justification, etc.
+https://apps.wifirst.net/pictures/000/204/303/103881/204303/large/picture.jpg?1410028000
+https://apps.wifirst.net/pictures/000/204/302/103881/204302/large/picture.jpg?1410027998
-- bug bouton photo réglé
--
TRES IMPORTANT
-BUG PHOTO TICKET !!!
-ON OK -> VALIDER CONNEXION
-BUG ON ACCUEIL -> retour ticket : plus de map !!
+√ BUG PHOTO TICKET !!!
+
+~~ ON OK -> VALIDER CONNEXION
+
+√ BUG ON ACCUEIL -> retour ticket : plus de map !!
+
BOUTON ACCUEIL A DROITE SUR LISTETICKETSENCOURS
!!!! bouton retour : listener !!!