Source of file MapProviderInterface.php
Size: 1,078 Bytes - Last Modified: 2021-12-24T06:46:37+00:00
/var/www/docs.ssmods.com/process/src/src/Provider/MapProviderInterface.php
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 | <?php namespace EdgarIndustries\ElementalMap\Provider; interface MapProviderInterface { /** * @return string Friendly name of this Map provider */ public function getTitle(); /** * Get parameters to use for initialising tileLayer in Leaflet. * * @return object */ public function getLeafletParams(); /** * Get the tile URL to use for initialising tileLayer in Leaflet. * * Can include parameters e.g. {x} and {y} which will be replaced in JavaScript. * * @return string */ public function getTileUrl(); /** * @return array SiteConfig parameters required for this provider to function * * @see SilverStripe\SiteConfig\SiteConfig */ public function requiresAuth(); /** * Array of additional CSS includes required for the provider * * @return array */ public function requireCss(); /** * Array of additional JavaScript includes required for the provider * * @return array */ public function requireJs(); } |