symfony - Using IvoryGoogleMap bundle in symfony2 -


I really have a simple and lame question (I hope this is easy).

I'm quite new to Symphony 2 and I'm not sure how to use bundles I'm trying to use the IvoryGoogleMapBundle () and I have to say this That documentation is really good but I can not understand one thing. I will write what I have done and what I want to do:

I have uploaded all the bundle files to the src / Ivory / GoogleMapBundle directory. Added appropriate lines to app / autoload.php and app / autoload.php (as per the documentation).

Now I am trying to demonstrate the simplest map possible and there are so many examples in the documentation, but I do not know how the new map object has been defined in my controller (assuming all the examples That the $ map variable is allready present and it holds the object). Can you just write the most simple controller for me, this will be the $ map variable definition? Do I need to create all those unit files outlined in the doctors?

If something is not clear, please tell me, I will try my best to explain it better.

Try $ map = $ this- & gt; Obtain ('ivory_google_map.map'); In your controller.

(SO / Vendor / Bundle / Ivory / GoogleMapBundle and NOT / src / Ivory / GoogleMapBundle)

Comments

Popular posts from this blog

mysql - BLOB/TEXT column 'value' used in key specification without a key length -

c# - Using Vici cool Storage with monodroid -

python - referencing a variable in another function? -