Skip to content
This repository has been archived by the owner on Nov 2, 2019. It is now read-only.

Integrated Google Maps to Venue Page #208

Open
wants to merge 8 commits into
base: develop
Choose a base branch
from
Open

Conversation

ashley
Copy link
Member

@ashley ashley commented Apr 14, 2018

  • Added Google Maps to the bottom of the Venus List page
  • Markers should appear on the map on page load.
  • When selecting a venue from the list, only one marker should be visible on the map.

Note: Like the API calls, the markers on the map lag.

venu list
individual venue

Copy link
Contributor

@ashleytqy ashleytqy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

weird – i get this warning 'Google Maps API warning: NoApiKey' and i don't see the maps on my end

screen shot 2018-04-15 at 11 48 05 am

app/js/app.js Outdated
]).config(function(RestangularProvider) {
RestangularProvider.setBaseUrl('https://api.tnyu.org/v3-test');
RestangularProvider.setBaseUrl('https://api.tnyu.org/v3');
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

keep it as v3-test

});

$scope.updateSelection = function(newModelId) {
var index = _.findIndex($scope.data, {'id': newModelId});
$scope.model = $scope.data[index];
$scope.model = $scope.data[index];
console.log($scope.model);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove console.log

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants