Re: using OpenLayers (like an external library) in my cake application

2007-01-07 Thread CraZyLeGs


Ain't openLayers a javascript library ?
Might be more logic to put it in webroot/js, include the Javascript
helper in your helper, and abstract the calls or whatever you want to
do.


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: using OpenLayers (like an external library) in my cake application

2007-01-06 Thread nate


Yes, this makes sense.  You can put vendor('open_layers'); (or whatever
the name of the OpenLayers include file is) in your helper and use it
to wrap the base OpenLayers object(s).


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



using OpenLayers (like an external library) in my cake application

2007-01-06 Thread Ilafra


Hello,

just a question.
I would like to use OpenLayers to create a navigable map in my
cake-application.
I thounght that it can be useful put the OpenLayer libraries in the
app/vendors folder and than create an helper to call the OpenLayers
functions and afterwards I will use my Helper functions in the views.
Does it make sense?

Thank you very much.


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---