Coder Social home page Coder Social logo

places's Introduction

This app makes heavy use of a modified version of the MapView.js api

The is an example of using local storage to save locations for those that care about speed during retreival of places and to save private places.

Also, prior to google maps coming up with the "labels" feature there was no way to mark a saved place with personal details. And currently if saving lots of places, there is no way to make sense of the sea of yellow stars.

So I made this app to help me organize my places. Along with adding notes.

People have recommended that I create a sharing function to this app. Although it would make it more popular, it would make it less private. And since the orignal designs had privacy in mind, it would take an architectural overhaul to include those features. If you would like to contribute designs to make it happen while also maintaining a healthy level of privacy, please do so.

Modified external libraries:

node_modules/react-native/React/Views/RCTConvert+MapKit.m + line 53: select annotation mapping assignment for auto pin selection

node_modules/react-native/React/Views/RCTMapAnnotation.h + line 19: select annotation attribute definition

node_modules/react-native/React/Views/RCTMapManager.m + line 341: tie into annotation view callback and add select annotation mapping

node_modules/react-native-sqlite-storage/src/ios/SQLite.m + line 70: function for distance query in sqlite + line 207: call to distance function in export module

node_modules/react-native/React/Views/RCTMapManager.m + line 211: https://github.com/facebook/react-native/commit/446d7b7c17c46b7d6ad46f4bc01b6b03e4325bd6#diff-87619ee4eb114d229bfba7eb3107595f + lines 259, 271, 284: https://github.com/facebook/react-native/commit/546d140ec7a280821650ed736baab7c8c32aee63#diff-87619ee4eb114d229bfba7eb3107595f + line 215, 218: uncomment to allow reuse of identifier

Dilemmas in design:

NavigatorIOS doesn't have an intuititve way to passProps back to original scene. Also, cannot pass function on navigator button press for the scene that is rendered. Attempted to switch to Navigator since scenes can be accessed to pass props to desired scenes but since the scene transitions were laggy. Esepcially for mapviews on the next scene. Tried to use transactions in db for preliminary inserts to rollback in case save was not committed but the sqlite adaptor is not well documented for suce transactions.

places's People

Contributors

dchun avatar

Stargazers

 avatar Lisa Bang avatar Travis Taylor avatar  avatar Joshua  avatar  avatar Chew Chit Siang avatar Thiago avatar

Watchers

James Cloos avatar  avatar  avatar

Forkers

lisabang

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.