Closed fspataro-zz closed 7 years ago
@fspataro this is an interesting catch!
I was able to isolate it to JSAPI 3.x and your use of a <base href="...">
tag, so I think we can rule out angular-esri-map as doing something odd here.
I recommend:
<base href="...">
tag as normalThanks for the quick response @jwasilgeo !!!
Yes I'm seeing the issue in the stock JSAPI sample as well by just adding the
Expected behavior
PictureFillSymbols and SimpleFillSymbols with a hatch fill setting (ie STYLE_HORIZONTAL) draw correctly when using the tag for RouteProvider and/or LocationProvider
Actual behavior
Non-functioning: In MS Edge, Safari on Mac and iOS the fill is solid black (no hatch or picture).
In FireFox on Windows & Mac the fill is completely empty (no hatch or picture).
Functioning: In Chrome on Windows & Mac and MS IE 11, the fill hatch or picture displays as expected.
I've stripped most of everything out of the my code in trying to nail down the issue, and it appears to be as simple as adding or removing the element.
Steps to reproduce the behavior
This is hard to setup in Plunker b/c the tag needs to know the actual root directory of the website/app. I was able to reproduce it using the graphic example in V1 but Plunker appear to create a new virtual directory each time it's accessed so it's not a stable example. I setup the example on my dev server here:
http://carto.yourdatasmarter.com/issues/pfsa/index.html
This is the faulty version. The only difference between this and working version on the examples site is the tag on line #5 in index.html. Removing this line, fill pictures draw correctly.
FireFox:
MS Edge (Safari produces same result)
Comparing FireFox SVG with Chrome SVG