Loading...

All project content is available for reading, but you need to be a member of the project for Subversion checkout of source code, or to create/modify any information.
Login if you are a member. Apply here to request membership (open to all).

Ticket #132 (new enhancement)

Opened 9 years ago

Last modified 9 years ago

Added a UserControl to display the map in EpiServer View mode (5.x)

Reported by: marius.slette.johansen@… Owned by: Joel Abrahamson
Priority: major Component: GoogleMapsLocation
Keywords: Cc:

Description

Hi,

I decided to test you plugin, and made a uc to put a map on the webpage. If you want to add the code to you module you can, just give us some cred ;)

Attachments

GoogleMap.ascx (1.8 KB) - added by marius.slette.johansen@… 9 years ago.
GoogleMap.ascx.cs (3.2 KB) - added by marius.slette.johansen@… 9 years ago.
GoogleMap.ascx.designer.cs (825 bytes) - added by marius.slette.johansen@… 9 years ago.

Change History

Changed 9 years ago by marius.slette.johansen@…

Changed 9 years ago by marius.slette.johansen@…

Changed 9 years ago by marius.slette.johansen@…

comment:1 Changed 9 years ago by steve@…

Just a comment on the code. Do you really need the script manager? Is that used for registering the script only? In that case, wouldn't Page.ClientScript do the trick?

Another thing, the Google script reference should also detect if the page is shown using SSL, and reference the correct script to avoid browser security warnings.

comment:2 Changed 9 years ago by marius.slette.johansen@…

I agree in the script manager issue, after testing without it I realize it has no function (in this case), it is simply tag-along-code... My bad.

SSL: Dunno... :)

comment:3 Changed 9 years ago by steve@…

Test with Page.Request.IsSecureConnection and reference https instead of http where you build the Google jsapi script reference.

Note: See HelpUser/Tickets for help on using tickets.