Giter Club home page Giter Club logo

pley's People

Contributors

john2x avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

Forkers

john2x

pley's Issues

Add Marker to existing Business

Add Marker to existing Business.

No LatLng, but Business is already in database - so we do not need to input the address and other details.

Red Markers for LocalSearch results

Compare business_item.name to the search results in LocalSearch.
Red marker for exact name.
Gray/Orange marker for other search results.
Center map to first Red marker.

Edit Form for Business

Create an Update/Edit form for a Business.

I will re-use this form. I will have a small [Edit] link in the infoWindow.

Testing in Django

How do we run tests?
How do we test?

I am too lazy to read the manual.

jQuery Validate does not work

In markers.js, validate() does not work.

  • The form does not need to "submit".
  • We will get the data using jQuery directly from the form elements and then Post to a view/method to save.

Add Marker != Save to Database

The Add Marker button in the jQuery Dialog box should not save!
It should only save once the "Save" Button found in the infoWindow is clicked.

User profile, location

Add a location for the user:

  • Barangay
  • City
  • Zipcode
  • Country

This can be used to display new reviews and popular businesses within the user's city/location/

Update Marker button LatLng after Save Marker is clicked

Once the Marker is "saved", get the ID of the inserted Business and return it as JSON. Put the ID in jQuery Data Storage. When the marker is clicked and the infoWindow opens, check the jQuery Data Storage if the ID exists, if it does, set button value to "Update Marker".

When the update marker is clicked, update the LatLng of the new location.

We should probably make an "Edit Form" for the added location/marker and have a small [Edit] link.

Will other users be able to edit other users' markers? Probably yes. Provided that they have enough posts/permission/moderator status.

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.