Cannot get Map to display
I have gone through the entire tutorial and all of the information seems to be storing correctly; however, the map does not show up. Is there any common issue as to why this would happen? I followed the tutorial exactly and did not clone your GitHub
+1
I have now been debugging for 3 hours and I can't get the map to display. Granted, I modified the tutorial a lot to fit my needs, but it just shows a blank page. Console does not show any errors. I have a slight guess that something is wrong with the gservice.js, as I can set breakpoints no matter where in there, which won't get called, not sure if this is supposed to be like this or what the default behaviour is with angular.
Same problem here
I think it has to do with
app -> confing.js
mongolab:
{
name: "mongolab",
url: "mongodb://BigCoder:[email protected]:39817/heroku_cnkn5vpn",
port: 27017
},
Yes, changing:
// Sets the connection to MongoDB
mongoose.connect(database.mongolab.url);
to
// Sets the connection to MongoDB
mongoose.connect(database.local.url);
brought the map on. Alternatively, you can update the mongolab url to your own, if you wanted cloud hosting.