« Issue/SM/65 » : différence entre les versions

De Semantic MediaWiki - Sandbox
(add)
m (Kghbln a déplacé la page Issue/SM/65 vers Issue/SM/65 : namefix)
 
(11 versions intermédiaires par 3 utilisateurs non affichées)
Ligne 1 : Ligne 1 :
== format "map" ==
== Issue ==
'''How to make two locations with the same coordinates distinguisable''' [[CiteRef::GitHubSM65]]
 
=== format "map" ===
<pre>
<pre>
{{#ask:
{{#ask:
Ligne 15 : Ligne 18 :
}}
}}


== format "ol" ==
=== format "ol" ===
{{#ask:
{{#ask:
  [[Category:Location]]
  [[Category:Location]]
Ligne 21 : Ligne 24 :
  |?Has coordinates
  |?Has coordinates
  |format=ol
  |format=ol
}}
{{#scite:
GitHubSM65
|type=internet
|citation text=[https://github.com/SemanticMediaWiki/SemanticMaps/issues/65 github.com - Semantic Maps issue 65]
}}
== Solution ==
'''use marker clustering'''
<pre>
{{#ask:
[[Category:Location]]
[[Has coordinates::+]]
|?Has coordinates
|format=map
|markercluster=on
|zoom = 2
}}
</pre>
{{#ask:
[[Category:Location]]
[[Has coordinates::+]]
|?Has coordinates
|format=map
|markercluster=on
|zoom = 2
}}
}}


[[Category:Location| ]]
[[Category:Location| ]]
[[Category:Issue]]
[[Category:Maps examples]]

Dernière version du 5 juillet 2018 à 15:48

Issue

How to make two locations with the same coordinates distinguisable 1

format "map"

{{#ask:
 [[Category:Location]]
 [[Has coordinates::+]]
 |?Has coordinates
 |format=map
}}
Chargement de la carte...

format "ol"

  1. Location 1 (Has coordinates: 52° 31' 0.00" N, 13° 24' 0.00" E)
  2. Location 2 (Has coordinates: 52° 31' 0.00" N, 13° 24' 0.00" E)
  3. Location 3 (Has coordinates: 47° 4' 14.52" N, 15° 26' 22.20" E)

Solution

use marker clustering

{{#ask:
 [[Category:Location]]
 [[Has coordinates::+]]
 |?Has coordinates
 |format=map
 |markercluster=on
 |zoom = 2
}}
Chargement de la carte...
Les cookies nous aident à fournir nos services. En utilisant nos services, vous acceptez notre utilisation de cookies.