forked from 0x2620/oxjs
fixing paths in Ox.UI
This commit is contained in:
parent
60ca706912
commit
fd58906e04
13 changed files with 23 additions and 23 deletions
|
|
@ -46,7 +46,7 @@ Ox.MapImage = function(options, self) {
|
|||
Ox.forEach(self.markers, function(markers, k) {
|
||||
if (markers.length) {
|
||||
self.src += '&markers=icon:' + 'http://dev.pan.do:8000' +
|
||||
Ox.UI.PATH + 'png/ox.map/marker' +
|
||||
Ox.PATH + 'png/ox.map/marker' +
|
||||
Ox.toTitleCase(self.options['markerColor' + Ox.toTitleCase(k)]) +
|
||||
'.png|' + markers.join('|')
|
||||
}
|
||||
|
|
|
|||
|
|
@ -77,7 +77,7 @@ Ox.MapMarker = function(options) {
|
|||
cursor: that.place.editing ? 'move' : 'pointer',
|
||||
draggable: that.place.editing,
|
||||
icon: new google.maps.MarkerImage(
|
||||
Ox.UI.PATH + 'png/ox.map/marker' +
|
||||
Ox.PATH + 'png/ox.map/marker' +
|
||||
(that.place.id[0] == '_' ? 'Result' : '') +
|
||||
(that.place.editing ? 'Editing' : (
|
||||
that.place.selected ? 'Selected' : ''
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@ Ox.MapRectangleMarker = function(options, self) {
|
|||
cursor: that.position + '-resize',
|
||||
draggable: true,
|
||||
icon: new google.maps.MarkerImage(
|
||||
Ox.UI.PATH + 'png/ox.map/markerResize.png',
|
||||
Ox.PATH + 'png/ox.map/markerResize.png',
|
||||
new google.maps.Size(16, 16),
|
||||
new google.maps.Point(0, 0),
|
||||
new google.maps.Point(8, 8)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue