Invalid code
Hi!
After upgrading Tilemill to the newest version on OSX I get all kind of different problems. Mostly solved by making a new project an copying all the layers and styling over. However I still get invalid code on this snippet:
poi[highway='bus_stop'][zoom>13]{
point-file: url(/Users/maria/Documents/MapBox/project/skikart2/icons/baal.png);
}
What am I doing wrong?
Comments are currently closed for this discussion. You can start a new one.
Support Staff 2 Posted by Will White on 16 Nov, 2011 07:29 PM
Hi Espen,
What is
poiin this example? If it's a layer ID, you must use a pound sign before it like#poi. There was a bug is previous TileMill versions that would have allowed this selector to work without the pound sign. There is a note about the change in the 0.6.0 changelog.Can you provide any specifics about the other issues you were having? The upgrade process is meant to be relatively painless!
Will
3 Posted by espen on 16 Nov, 2011 07:50 PM
Thanks for pointing that out. I had become a bit lazy I suppose and haven't noticed that I was doing that. That seemed to solve my other problems also.
I tried to export the Mapnik XML and it gave me no errors, but it also gave me no file. I also had problems moving around the GUI. Clicking on things didn't bring up menues and such.
Support Staff 4 Posted by Will White on 16 Nov, 2011 08:03 PM
Hi Espen,
Glad that worked and thanks for the details about the other issues. Those issues sounds somewhat familiar to TileMill 0.6.0 and I believe they have been fixed in TileMill 0.6.2.
Thanks,
Will
Will White closed this discussion on 16 Nov, 2011 08:03 PM.