Use a Model S --map marker, facing the car's direction#47
Use a Model S --map marker, facing the car's direction#47johan wants to merge 1 commit intohjespers:masterfrom
Conversation
Feel free to tuck on `&rgb=RRGGBB` and `&opacity=0.0…1.0` to the url, and an optional `zoom=N` level if there's nicer ideas than black at opacity 0.8 and the default zoom of 5. See http://jsfiddle.net/ecmanaut/fvEqr/ for source, if you want to tweak around more or fork the fiddle first.
|
I definitely wouldn't want to put the external URL into the teslamap.js code but I like the idea of a cool marker with heading indication. I will look at the code and see if I can incorporate it somehow so it all runs on the localhost. Thanks Johan. |
|
http://jsfiddle.net/ecmanaut/CLW4e/ has a cleaned-up version that doesn't use any of the jsfiddly compositioning so you can drop it in a html file anywhere to have it just do the right thing, provided you feed it query arguments to populate its parameters – example looks. Just like your initial google-map-url mock, jsfiddle is good for proof-of-concepts conveyable by pull request links. Serving it from a local |
Feel free to tuck on
&rgb=RRGGBBand&opacity=0.0…1.0to the url, and an optional&zoom=Nlevel if there's nicer ideas than black at opacity 0.8 and the default zoom of 5.See http://jsfiddle.net/ecmanaut/fvEqr/ for source, if you want to tweak around more or fork the fiddle first.