-
Notifications
You must be signed in to change notification settings - Fork 2
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
Branch test #1
Branch test #1
Conversation
</head> | ||
|
||
<body> | ||
<div id="MapView"></div> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This tag should be in the MapView.js file on line 19
src/components/MapView/mapTest.html
Outdated
<link rel="stylesheet" href="https://unpkg.com/[email protected]/dist/leaflet.css"/> | ||
|
||
<style> | ||
#MapView{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is CSS (styling for the component), move this to MapView.css (should be in the same MapView directory)
<div id="MapView"></div> | ||
<script src="https://unpkg.com/[email protected]/dist/leaflet.js"></script> | ||
|
||
<script> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Any javascript you use should be in MapView.js for consistency. you can add this on MapView.js after line 16
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks like you were able to get the example from leaflet running which is good progress. just fix some syntax and make sure everything is on the right files - it'll save a lot of pain later.
…op up the 'place_people_person_full_name' will display, if the value is 'null' no item will pop up. Keep in mind that in the mapTest.html file I have only used a subset of the geoJson data because using the whole thing makes the IDE lag significantly. The feature is completely ready to be implemented we can go back to the full data set.
No description provided.