diff --git a/collections/map/mapbox.php b/collections/map/mapbox.php index c63fc94be2..a8ad95c9b6 100644 --- a/collections/map/mapbox.php +++ b/collections/map/mapbox.php @@ -1,6 +1,9 @@ - <?php echo $DEFAULT_TITLE; ?> - Taxon Map + <?php echo $DEFAULT_TITLE; ?> - <?php echo $LANG['TAXON_MAP']; ?> @@ -78,11 +81,11 @@ function addRefPoint(){ } if(lat != null && lng != null){ if(lat < -180 || lat > 180 || lng < -180 || lng > 180){ - window.alert("Latitude and Longitude must be of values between -180 and 180 (" + lat + ";" + lng + ")"); + window.alert(" (" + lat + ";" + lng + ")"); } else{ var addPoint = true; - if(lng > 0) addPoint = window.confirm("Longitude is positive, which will put the marker in the eastern hemisphere (e.g. Asia).\nIs this what you want?"); + if(lng > 0) addPoint = window.confirm("?"); if(!addPoint) lng = -1*lng; var iconImg = new google.maps.MarkerImage( '../../images/google/arrow.png' ); @@ -97,7 +100,7 @@ function addRefPoint(){ } } else{ - window.alert("Enter values in the latitude and longitude fields"); + window.alert(""); } } @@ -125,36 +128,36 @@ function toggleLatLongDivs(){ if(!$coordArr){ ?>
- Your query apparently does not contain any records with coordinates that can be mapped. + .
- Either the records in the query are not georeferenced (no lat/long)
+

- -or- + --
- Rare/threatened status requires the locality coordinates be hidden. + .
- +
' style="width:100%;" >
- Legend +
$colorCode){ echo '
'; echo ' '; - if(!$iconKey) echo '= various taxa'; + if(!$iconKey) echo '= ' . $LANG['VARIOUS_TAXA']; elseif(is_numeric($iconKey)) echo '= '.$taxaKey[$iconKey]['str'].''; elseif(isset($taxaKey['orphan'][$iconKey])) echo '= '.$iconKey.''; - else echo '= various taxa'; + else echo '= ' . $LANG['VARIOUS_TAXA']; echo '
'; } ?> @@ -165,14 +168,14 @@ function toggleLatLongDivs(){ - = Collection + =
" xmlns="http://www.w3.org/2000/svg"> - = Observation + =
@@ -180,51 +183,51 @@ function toggleLatLongDivs(){
- Add Point of Reference +
- Latitude decimal: eg: 34.57 + : eg: 34.57
- Longitude decimal: eg: -112.38 + : eg: -112.38
- Marker Name: + :

- +
@@ -257,7 +260,7 @@ function toggleLatLongDivs(){ var mapObj = L.map('mapid').setView([], 3); L.tileLayer('https://api.mapbox.com/styles/v1/{id}/tiles/{z}/{x}/{y}?access_token=', { - attribution: 'Map data © OpenStreetMap contributors, CC-BY-SA, Imagery © Mapbox', + attribution: ' © OpenStreetMap , CC-BY-SA, © Mapbox', minZoom: 1, maxZoom: 18, id: 'taxon/streets-v11', @@ -319,4 +322,4 @@ function toggleLatLongDivs(){ - \ No newline at end of file + diff --git a/content/lang/collections/map/mapbox.en.php b/content/lang/collections/map/mapbox.en.php new file mode 100644 index 0000000000..b386352bf5 --- /dev/null +++ b/content/lang/collections/map/mapbox.en.php @@ -0,0 +1,40 @@ + diff --git a/content/lang/collections/map/mapbox.es.php b/content/lang/collections/map/mapbox.es.php new file mode 100644 index 0000000000..9db4f72e50 --- /dev/null +++ b/content/lang/collections/map/mapbox.es.php @@ -0,0 +1,41 @@ + diff --git a/content/lang/collections/map/mapbox.fr.php b/content/lang/collections/map/mapbox.fr.php new file mode 100644 index 0000000000..e92ff4ac11 --- /dev/null +++ b/content/lang/collections/map/mapbox.fr.php @@ -0,0 +1,41 @@ + \ No newline at end of file