Symbiota / Symbiota-deprecated

This original code fork is considered deprecated and no longer maintained by the community. We recommend that you use one of the several actively developed forks.
GNU General Public License v2.0
23 stars 93 forks source link

Use & as there is already query parameter before and Config out Zoom level #107

Closed arpanlepcha closed 7 years ago

arpanlepcha commented 7 years ago

The use of ? causes the EOL mapper to fail as the query parameter is messed. Basically what we will be having is something like

http://eol.org/api/search/1.0.json?q=<some params>?key=<some key>

and not

http://eol.org/api/search/1.0.json?q=<some params>&key=<some key>

This one line will fix the above issue for EOL mapper to work correctly.

Currenty the Google map zoom is fixed at level 6, Well for bigger countries it works amazingly. But for smaller countries like Bhutan, it is not really contextual, as it shows non relevant markers. So extracting out the Zoom level in config file, so that every one can set the level accordingly.

arpanlepcha commented 7 years ago

@egbot Any issues merging this, we faced problems during installations, hence thought would be useful.