css styles

0 views
Skip to first unread message

Steve Nelson

unread,
Sep 9, 2014, 7:45:35 AM9/9/14
to ol3...@googlegroups.com
Im struggling with ol3 documentation. Everytime I do a google search I find an answer, but its for Ol2.

I am lost on the style object. I have been able to place a vector feature with a png image on the map. Is there a way to apply css styles to it?

Steve


--

Antonio Santiago

unread,
Sep 9, 2014, 10:24:19 AM9/9/14
to OL3 Dev on behalf of Steve Nelson
Nop, OL3 only admits its set of style classes but I think there is a post proposing style improvements.



--

--
You received this message because you are subscribed to the Google Groups "OL3 Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ol3-dev+u...@googlegroups.com.
To post to this group, send email to ol3...@googlegroups.com.
Visit this group at http://groups.google.com/group/ol3-dev.
To view this discussion on the web visit https://groups.google.com/d/msgid/ol3-dev/CAGhpvZMsBUmhLgdTz_ADDpcAo3Po-DeO4KCVSvbooasX3-bYrw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.



--
|----------------------------------------------------------------
| The book of OpenLayers 3 - http://kcy.me/x29y
| OpenLayers Cookbook: http://kcy.me/ar2b
| Blog: http://www.acuriousanimal.com/blog
| Twitter: @acanimal
|----------------------------------------------------------------
|   _      __                           
|  /_)    (_ ` _   _  _)_ o  _   _   _  
| / /  o .__) (_( ) ) (_  ( (_( (_( (_) 
|                                 _)    
|----------------------------------------------------------------

Steve Nelson

unread,
Sep 9, 2014, 10:33:54 AM9/9/14
to OL3 Dev on behalf of Antonio Santiago
in OL2 I was able to create animated features by using CSS sprites. Basically I would use a single png image for a feature and use css to clip the image and change the position of the image. I'm not explaining that well.

Anyway, is there a way to use the map styles to make vector features animate?


Steve
Reply all
Reply to author
Forward
0 new messages