Fmorisset / Blog2

Class Project
0 stars 0 forks source link

Polygon pattern help #1

Open amyleew opened 9 years ago

amyleew commented 9 years ago

@Fmorisset - Add details and screenshots of your problem here. Drag screenshots into the comment box below and they will show up when you add the comment. I can help you best when you give me a good description of the problem.

screen shot 2014-12-15 at 8 49 10 am

Fmorisset commented 9 years ago

So I figure out the names situation and revert them back to their old names.

For instance: Nigeria was saved in Editior as Nigeria - Omo Tribe. I want to change it Nigeria - Yoruba Tribe. How do I make the change? Currently the maps reads Omo Tribe but it has a Yoruba textile.

amyleew commented 9 years ago

@Fmorisset Did you change in Editor? I'm not understanding your problem.... take screenshots so I can see.

Fmorisset commented 9 years ago

Yes, I want to changed the label in editor. It is highlighted in blue.

image

amyleew commented 9 years ago

@Fmorisset Change it. Save it and download the new .json replacing your old .json file. When you open that source file in Studio the new name should be included. Upload the updated Source to Mapbox.com and your Style file should reflect the new names.

Fmorisset commented 9 years ago

Ok. thanks! So I have to save it as a different name. I was saving it as them same name and replacing the file. Do I add a new layer?

I am think out uploading the map on line. Any thoughts on how I should present it. Should I show it from Mapbox or upload it my blog. Thanks!

Fmorisset commented 9 years ago

HI Amy,

I went today to work on my project and I can not open my program in Mapbox. When I try to open it this is the error message that I am getting.

image

amyleew commented 9 years ago

@Fmorisset Looks like either the file is not in the proper folder .tm2/img, it is named differently than specified, or there is something funky about the link to it.

Either way you can open your project in Mapbox Studio this way.

  1. Open the style.mss file in your projects .tm2 folder with Sublime text or Dreamweaver.

    image

  2. Add // in front of the line of code that references that polygon-pattern, like below. This will comment this code out, allowing the error to pass.

    //polygon-pattern-file: url('img/hearts-pattern.png');
    //polygon-pattern-comp-op: overlay;
    //polygon-pattern-opacity: 0.3;
  3. Save the style.mss
  4. Re-open Mapbox Studio.

Should allow you to open your project.

Fmorisset commented 9 years ago

HI Amy,

I have had some great success with uploading my map onto my blog. Yay for me! :) http://fmorisset.github.io/Blog2/finalproject.html

Unfortunately, I am having trouble with all my textiles showing up on the map. I have uploaded screenshots below. The red spot are the countries that the textiles are not showing. I am continuing to check the titles and the names of the images. Isthere anything else I should check? I also want to delete the names of the various countries in the background on such as Ghana, Madgascar Sierra Leone etc.

Images Below Mapbox Editor - 7 countries not showing. image

Mapbox Studio - 5 countries not showing image

Fmorisset commented 9 years ago

Hi Amy,

I figure out how to remove the names of the countries by going to style and "hiding it" the street style function. But I was wondering how to keep the names of the ocean. It seems like a either all or nothing. Thanks!