Code Monkey home page Code Monkey logo

anantdevs / myplace Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 277 KB

This Flutter app is designed to run on both Android and iOS devices. It enables users to select a location on the map and save it, including a title and an image captured by their device's camera. All data, including location, is saved locally on the device using SQLite. Additionally, the app displays a static map snapshot using user location.

Home Page: https://github.com/Anantdevs/myPlace/releases/tag/v.1.0.0

Kotlin 0.18% Ruby 3.91% Swift 2.27% Objective-C 0.06% Dart 28.51% CMake 27.29% C++ 33.03% C 2.07% HTML 2.68%
cross-platform dart flutter map sqlite-database sqlite3

myplace's Introduction

My Place App

This Flutter app is built for both Android and iOS platforms. It allows users to pick a location on the map and store it, along with a title and an image taken from their device camera. The location and other data are stored locally on the device using SQLite. The app also displays a static map snapshot based on the random location chosen by the user using Google Maps.

Dependencies

The app uses the following dependencies:

  • provider: for state management
  • image_picker: for picking images from the device camera
  • path_provider: for accessing the device's file system
  • path: for manipulating file paths
  • sqflite: for local data storage
  • location: for fetching the user's coordinates
  • google_maps_flutter: for displaying the map and taking snapshots
  • http: for making HTTP requests (used to fetch the static map snapshot)

Setup

To run the app, you need to have Flutter installed on your machine. Once you have cloned the repository, open the location_helper.dart file and enter your Google Maps API Key in the GOOGLE_API_KEY field. Then run the following commands:

flutter pub get
flutter run

This will start the app on your connected device or emulator.

Functionality

The app has two main screens:

  • Map screen: displays a Google Map and allows the user to pick a location by tapping on the map. The app then fetches the user's coordinates and displays a static map snapshot based on the chosen location. The user can then enter a title for the location and take a photo using their device's camera. When the user saves the location, the data is stored locally using SQLite.
  • Place details screen: displays a list of all the saved locations, with their titles, photos, and static map snapshots. The user can tap on a location to view its details, including the full-size photo and the exact coordinates.

FeedBack

-If You have any feedback reach out to [email protected]

myplace's People

Contributors

anantdevs avatar

Watchers

 avatar

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.