no png in name

This commit is contained in:
bsudekum
2016-04-18 16:23:35 -07:00
parent daef84d4dd
commit aa3304a509
+1 -3
View File
@@ -69,7 +69,7 @@ You can change the `styleURL` to any valid GL stylesheet, here are a few:
"strokeWidth": "optional number. Only used for type=poyline. Controls line width",
"id": "optional string, unique identifier.",
"annotationImage": {
"url": "Optional. Either remote image or specify via 'image!yourImage.png'",
"url": "Optional. Either remote image or specify via 'image!yourImage'",
"height": "required if url specified",
"width": "required if url specified"
},
@@ -77,8 +77,6 @@ You can change the `styleURL` to any valid GL stylesheet, here are a few:
```
_*[Valid colors can be seen here](http://developer.android.com/reference/android/graphics/Color.html#parseColor%28java.lang.String%29)_
**For adding local images via `image!yourImage.png` see [adding static resources to your app using Images.xcassets docs](https://facebook.github.io/react-native/docs/image.html#adding-static-resources-to-your-app-using-images-xcassets)**.
#### Example
```json
annotations: [{