0

At which point should I be seeing the map when I open my web page. I am at the scripts.js section of the pset and the instructions says to change the coordinates in options to recenter your map. However, I don't see a map which leads me to believe I missed a basic step. Do any changes have to be made to index.html? Flog me if I am missing something super basic but, I just need to make sure so I don't spend another day tinkering on something that seems trivial (maybe it's not).

7
  • Do you mean the web page is currently blank or index.html is currently blank (it shouldn't be)? If the map is blank, did you change the coordinates? Did you miss a - sign? index.html does not need to be changed. – DinoCoderSaurus Jun 22 '17 at 2:08
  • Web page, sorry. So index.html does not need to be changed. I assumed that was the case from the distribution code and just wanted to make sure. Currently the search bar is planted on a white back drop on the webpage. Yes I changed the coordinates. – SozDaneron Jun 22 '17 at 7:05
  • FWIW: The default map has no "features". See if changing visibility from off to on in var styles (script.js) has an effect. – DinoCoderSaurus Jun 22 '17 at 12:12
  • Yes, I stared at that for a few minutes yesterday but did not sum up the courage to make that easy change to see what it does. Will do so when I get home today, thanks. – SozDaneron Jun 22 '17 at 12:30
  • @DinoCoderSaurus that did not work. I will continue playing around but, seems like something has to be done in order for me web page to display the map. That, or I changed some distribution code which I am pretty sure I did not. Rereading the specs, they read Feel free to tinker (i.e., make changes, save the file, and reload the page in Chrome) to see how everything works, but best to undo any such changes for now before forging ahead so, from the very start I should see the map after my API is working correctly, right? – SozDaneron Jun 22 '17 at 21:29
0

I downloaded the distribution code from the beginning and everything seems to be working fine.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .