How can I change the map source using Openlayers?

41 views
Skip to first unread message

cyberluises

unread,
Apr 18, 2012, 12:36:49 PM4/18/12
to Timemap.js Development, esteban...@transcontrol.co
Hi,

I need to change de map source using openlayers, but I can't find
where I must to change it.
I have my own maps and I need to work with them, but I don´t know how
to do it.
I apreciate some help with this.

Thanks

Nick Rabinowitz

unread,
Apr 18, 2012, 5:37:56 PM4/18/12
to cyber...@gmail.com, Timemap.js Development, esteban...@transcontrol.co
Hello -

I don't know a great deal about OpenLayers, to be honest, but you can access the native OpenLayers map object using .getNativeMap():

var tm = TimeMap.init({
  // etc
});

var olMap = tm.getNativeMap();

After that, you should be able to do anything you'd normally do with OpenLayers.

-Nick

:: Nick Rabinowitz :: Information Management Consultant



--
You received this message because you are subscribed to the Google Groups "Timemap.js Development" group.
To post to this group, send email to timemap-d...@googlegroups.com.
To unsubscribe from this group, send email to timemap-develop...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/timemap-development?hl=en.


Reply all
Reply to author
Forward
0 new messages