Body: <p>I would like to add a google map in an entry edit page for certain entry types.</p>
  
  <p>I already have a plugin started to go and grab the lat and long for the entered address.  What I'm now trying to achieve is to add the map to the admin page. I'd like to put it in the right pane.</p>
  
  <p>I have looked at <code>hookRegisterCpRoutes()</code> but I don't think it's possible to override pre-existing routes.  </p>
  
  <p>Is their a way to achieve my goal or my plugin should be taking care of the entire entry type instead ?</p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2015-04-16T21:05:08.810Z
Comments.Text: Hi Eric... Not sure how far into this plugin development you are, but there are already a couple great Google Map plugins out there. Perhaps one of those would make a better starting point for what you are trying to achieve? Either [Smart Map](https://craftpl.us/plugins/smart-map) or [Google Maps for Craft](https://github.com/objectivehtml/Google-Maps-for-Craft) may help speed up your process.
Comments.UserDisplayName: Lindsey D
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2015-04-17T13:16:25.197Z
Comments.Text: Thanks Lindsey.  I will download them to at least look at how they are built.  The google map I need is ultra simple and I'm trying to migrate a Wordpress site  to Craft and I want it to be as identical as possible.  At the same time, I'm learning the plugin structure and all that.  Since this is more of a learning project, I'm trying to build everything from scratch.  I have to say that I'm impressed at how easy it's been until I got into the plugins part.
Comments.UserDisplayName: Eric Chantigny
Tags: <plugin-development><plugins><routes><routing>
Title: Can I add information to a CP new entries page?
ThreadText: # Can I add information to a CP new entries page?
  
  (Asked by: username_0 on 2015-04-16)
  
  I would like to add a google map in an entry edit page for certain entry types.
  
  I already have a plugin started to go and grab the lat and long for the entered address. What I'm now trying to achieve is to add the map to the admin page. I'd like to put it in the right pane.
  
  I have looked at `hookRegisterCpRoutes()` but I don't think it's possible to override pre-existing routes.
  
  Is their a way to achieve my goal or my plugin should be taking care of the entire entry type instead ?
  
  **Tags:** plugin-development, plugins, routes, routing
  
  > **Comments:**
  > **username_1**: Hi username_0... Not sure how far into this plugin development you are, but there are already a couple great Google Map plugins out there. Perhaps one of those would make a better starting point for what you are trying to achieve? Either [Smart Map](https://craftpl.us/plugins/smart-map) or [Google Maps for Craft](https://github.com/objectivehtml/Google-Maps-for-Craft) may help speed up your process.  
  > **username_0**: Thanks username_1.  I will download them to at least look at how they are built.  The google map I need is ultra simple and I'm trying to migrate a Wordpress site  to Craft and I want it to be as identical as possible.  At the same time, I'm learning the plugin structure and all that.  Since this is more of a learning project, I'm trying to build everything from scratch.  I have to say that I'm impressed at how easy it's been until I got into the plugins part.  
  
  ---
  
  ## 0 answers
  
  