« Ajaxquery » : différence entre les versions

De Semantic MediaWiki - Sandbox

Aucun résumé des modifications
Aucun résumé des modifications
Ligne 6 : Ligne 6 :
<pre>
<pre>
{{#ask:
{{#ask:
[[Category:Locations]] [[Has coordinates::47° 4' 0", 15° 26' 0" E  (50 km)]]
[[Category:Location]] [[Has coordinates::52° 30' 59", 13° 24' 0" E  (50 km)]] [[Has coordinates::+]]
| ?Has coordinates
| ?Has coordinates
| format = leaflet
| format = leaflet
Ligne 14 : Ligne 14 :
</pre>
</pre>
{{#ask:
{{#ask:
[[Category:Location]]
[[Category:Location]] [[Has coordinates::52° 30' 59", 13° 24' 0" E (50 km)]] [[Has coordinates::+]]
  [[Has coordinates::+]]
| ?Has coordinates
|?Has coordinates
| format = leaflet
|format=map
| ajaxquery = [[Category:Locations]]
| ajaxcoordproperty = Has coordinates
}}
}}


[[Category:Semantic Maps example]]
[[Category:Semantic Maps example]]

Version du 14 juillet 2016 à 15:54

Issue

You don't want all the points on the map to load, just the points that are currently in the field of view.

reload new points when dragging/zooming the map

{{#ask:
[[Category:Location]] [[Has coordinates::52° 30' 59", 13° 24' 0" E  (50 km)]] [[Has coordinates::+]]
| ?Has coordinates
| format = leaflet
| ajaxquery = [[Category:Locations]]
| ajaxcoordproperty = Has coordinates
}}
Les cookies nous aident à fournir nos services. En utilisant nos services, vous acceptez notre utilisation de cookies.