fixings paths for map assets

This commit is contained in:
rolux 2011-04-25 14:37:16 +02:00
parent 351652e513
commit 3b5e04b61e
4 changed files with 4 additions and 4 deletions

View file

@ -48,7 +48,7 @@ Ox.ListMap = function(options, self) {
return $('<img>')
.attr({
// fixme: not the right place to do these
src: Ox.PATH + 'svg/ox.map/' + (value || 'NTHH') + '.' + (value == 'RE' ? 'png' : 'svg')
src: Ox.PATH + 'svg/Ox.Geo/' + (value || 'NTHH') + '.' + (value == 'RE' ? 'png' : 'svg')
})
.load(function() {
$(this).css({

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.PATH + 'png/ox.map/marker' +
Ox.PATH + 'png/Ox.UI/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.PATH + 'png/ox.map/marker' +
Ox.PATH + 'png/Ox.UI/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.PATH + 'png/ox.map/markerResize.png',
Ox.PATH + 'png/Ox.UI/markerResize.png',
new google.maps.Size(16, 16),
new google.maps.Point(0, 0),
new google.maps.Point(8, 8)