Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[API] Implement GooleMaps on Product Detail Page #22

Open
3 of 5 tasks
1000miles opened this issue Oct 5, 2019 · 1 comment
Open
3 of 5 tasks

[API] Implement GooleMaps on Product Detail Page #22

1000miles opened this issue Oct 5, 2019 · 1 comment
Assignees

Comments

@1000miles
Copy link
Member

1000miles commented Oct 5, 2019

API: https://developers.google.com/maps/documentation/javascript/adding-a-google-map

TODO

  • Study GoolgMaps Api
  • Register API key
  • Set 'owner' with session user
  • Set 'wishlist' with session user (nice to have)
  <body>
    <div id="map"></div>
    <script>
      var map;
      function initMap() {
        map = new google.maps.Map(document.getElementById('map'), {
          center: {lat: -34.397, lng: 150.644},
          zoom: 8
        });
      }
    </script>
    <script src="https://maps.googleapis.com/maps/api/js?key=YOUR_API_KEY&callback=initMap"
    async defer></script>
  </body>
  • Implement Marker for GoogleMaps

This is a subtask of Github Issue: CRUD on Product Detail page #11

@1000miles 1000miles added Backend Backend Frontend Frontend API labels Oct 5, 2019
@ninetteadhikari ninetteadhikari changed the title [API] Implement Google Maps on Product Detail Page [API] Implement MapBox on Product Detail Page Oct 7, 2019
@ninetteadhikari
Copy link
Member

Decided to switch to MapBox after talking to the TAs

@ninetteadhikari ninetteadhikari changed the title [API] Implement MapBox on Product Detail Page [API] Implement GooleMaps on Product Detail Page Oct 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants