File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11import './list.scss' ;
22import template from './list.html' ;
3- import '../../../images/marker.png' ;
43
54const ListComponent = { controller, template } ;
65
Original file line number Diff line number Diff line change @@ -2,7 +2,6 @@ import _ from 'lodash';
22
33import './monument.scss' ;
44import template from './monument.html' ;
5- import '../../../images/marker.png' ;
65
76const MonumentComponent = { controller, template } ;
87
Original file line number Diff line number Diff line change 1- import '../images/marker.png' ;
1+ import '../images/marker-red.png' ;
2+ import '../images/marker-shadow.png' ;
23
34const MapService = ( ) => {
45 const service = {
@@ -12,12 +13,13 @@ const MapService = () => {
1213
1314 function getMapIcon ( options ) {
1415 return angular . extend ( {
15- iconUrl : 'assets/images/marker.png' ,
16- shadowUrl : undefined ,
17- iconSize : [ 40 , 40 ] ,
18- shadowSize : [ 0 , 0 ] ,
19- iconAnchor : [ 20 , 20 ] ,
20- shadowAnchor : [ 0 , 0 ] ,
16+ iconUrl : 'assets/images/marker-red.png' ,
17+ shadowUrl : 'assets/images/marker-shadow.png' ,
18+ iconSize : [ 29 , 41 ] ,
19+ shadowSize : [ 41 , 41 ] ,
20+ iconAnchor : [ 15 , 41 ] ,
21+ shadowAnchor : [ 12 , 41 ] ,
22+ popupAnchor : [ 0 , - 43 ] ,
2123 } , options ) ;
2224 }
2325
You can’t perform that action at this time.
0 commit comments