bug fix (regex)
git-svn-id: http://svn.code.sf.net/p/staticmaplite/code@7 3c7674d3-d6c2-4d0e-87b7-95661b9333b9
This commit is contained in:
parent
b93f6c2fd1
commit
604531c014
@ -43,18 +43,28 @@ Class staticMapLite {
|
||||
protected $markerBaseDir = 'images/markers';
|
||||
protected $osmLogo = 'images/osm_logo.png';
|
||||
|
||||
protected $markerPrototypes = array('lighblue' => array('regex'=>'/^lightblue([0-9]+)$/',
|
||||
protected $markerPrototypes = array(// found at http://www.mapito.net/map-marker-icons.html
|
||||
'lighblue' => array('regex'=>'/^lightblue([0-9]+)$/',
|
||||
'extension'=>'.png',
|
||||
'shadow'=>false,
|
||||
'offsetImage'=>'0,-19',
|
||||
'offsetShadow'=>false
|
||||
),
|
||||
// openlayers std markers
|
||||
'ol-marker'=> array('regex'=>'/^ol-marker(|-blue|-gold|-green)+$/',
|
||||
'extension'=>'.png',
|
||||
'shadow'=>'../marker_shadow.png',
|
||||
'offsetImage'=>'-10,-25',
|
||||
'offsetShadow'=>'-1,-13'
|
||||
),
|
||||
// taken from http://www.visual-case.it/cgi-bin/vc/GMapsIcons.pl
|
||||
'ylw'=> array('regex'=>'/^(pink|purple|red|ltblu|ylw)-pushpin$/',
|
||||
'extension'=>'.png',
|
||||
'shadow'=>'../marker_shadow.png',
|
||||
'offsetImage'=>'-10,-32',
|
||||
'offsetShadow'=>'-1,-13'
|
||||
)
|
||||
|
||||
);
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user