« Ajaxquery » : différence entre les versions
De Semantic MediaWiki - Sandbox
Aucun résumé des modifications |
Aucun résumé des modifications |
||
Ligne 14 : | Ligne 14 : | ||
</pre> | </pre> | ||
{{#ask: | {{#ask: | ||
[[Category: | [[Category:Location]] | ||
| ?Has coordinates | [[Has coordinates::+]] | ||
| format= | |?Has coordinates | ||
|format=map | |||
}} | }} | ||
[[Category:Semantic Maps example]] | [[Category:Semantic Maps example]] |
Version du 14 juillet 2016 à 15:52
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:Locations]] [[Has coordinates::47° 4' 0", 15° 26' 0" E (50 km)]] | ?Has coordinates | format = leaflet | ajaxquery = [[Category:Locations]] | ajaxcoordproperty = Has coordinates }}