1
0
Fork 0
forked from 0x2620/oxjs

fixing paths in Ox.UI

This commit is contained in:
rolux 2011-04-25 14:03:49 +02:00
commit fd58906e04
13 changed files with 23 additions and 23 deletions

View file

@ -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('|')
}

View file

@ -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' : ''

View file

@ -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)