We created a map with points: [url removed, login to view]
points are loaded from a database, using json files.
The script is based on a script that is not our own:
[url removed, login to view]
We changed this script in order to show only points
what we need:
-remove all unnecessary code
since we only draw points, and the script is originally used to draw polygons, there is still unnecessary code
1. sometimes an error shows up: Uncaught TypeError: Cannot read property 'firstChild' of null (line 123)
2. when hovering over a point with style 2 (line 25) (half transparent light yellow points) the point stays the hover over color.
3. script have to work in same browsers as the polygons script does
-Add click function to points:
(without slowing script down)
If a point is clicked: do something with point ID
-make clear overlay function (button below map)
-make specific_points function (button below map)
(eg. only show points with ID = 1,2,4,5,6,7)
-Remove [url removed, login to view] request (not necessary)
You can copy/past code and modify and test on your own server.
please view source of the pages before bidding.
6 freelancere byder i gennemsnit $179 på dette job