Add zoom support for embedded maps.

Add new url to embedded maps
This commit is contained in:
Paulo Gustavo Veiga
2012-06-03 20:23:31 -03:00
parent 3907e04ff6
commit 88b0efa859
20 changed files with 134 additions and 277 deletions

View File

@@ -80,3 +80,6 @@ registration.recaptcha.publicKey =
# Site administration user. This user will have special permissions for operations such as removing users, set password
# etc.
admin.user = admin@wisemapping.org
# Site URL. This url will be used during sharing emails and public views.
site.baseurl = http://localhost:8080

View File

@@ -309,4 +309,5 @@ NO_PRODUCTION_DATABASE_CONFIGURED=Note: Although HSQLDB is bundled with WiseMapp
IMPORT=Import
EMBEDDED_MAP_SIZE=* Note: You can change embedded map size modifying 'height' and 'width' style properties. You can also adjust the zoom factor modifying 'zoom' parameter from the URL.
EXPORT_FORMAT_RESTRICTIONS=Important: Exporting to Image, PDF or SVG is available only in the editor toolbar only.\
EXPORT_FORMAT_RESTRICTIONS=Important: Exporting to Image, PDF or SVG is available only in the editor toolbar only.
STARRED=Starred

View File

@@ -239,7 +239,6 @@ NEWS_DESC_FREEMIND=Ahora, puede importar y exportar sus mapas con formato de Fre
NEWS_TITLE_KEYBOARD_NAVIGATION=La creacion de mapas mentales es mas facil que nunca!
NEWS_DESC_KEYBOARD_NAVIGATION=WiseMapping lo deja crear sus mapas mentales utilzando solo el teclado.
MOST_POPULAR_MAPS=Los mapas mas populares
JOIN_WISEMAPPING=Utilice WiseMapping
IT_IS_FREE=Es gratis!
CREATE_EDIT_ACCESS_FROM_ANYWHERE=Crear, editar y acceder a sus mapas mentales desde cualquier lugar de Internet
@@ -258,4 +257,5 @@ SEARCH_PUBLIC=Buscar mapas públicos
UNDO_EDITION=Undo Edition
REDO_EDITION=Redo Edition
REVERT=revert
EXPORT_FORMAT_RESTRICTIONS=Important: Exporting to Image, PDF or SVG is available only in the editor toolbar only.\
EXPORT_FORMAT_RESTRICTIONS=Important: Exporting to Image, PDF or SVG is available only in the editor toolbar.
STARRED=Starred

View File

@@ -248,3 +248,4 @@ EMBEDDED_MAP_SIZE=* Note
EDITOR_LINKS=Mind Map feature
NEWS_ADD_ICON=Mind Map feature
EXPORT_FORMAT_RESTRICTIONS=Important: Exporting to Image, PDF or SVG is available only in the editor toolbar only.\
STARRED=Starred

View File

@@ -8,11 +8,9 @@
<definition name="homepage" page="/jsp/homepage.jsp"/>
<definition name="mindmapList" page="/jsp/mindmapList.jsp"/>
<definition name="embeddedView" page="/jsp/embeddedView.jsp"/>
<definition name="embeddedViewNotSupported" page="/jsp/embeddedViewNotSupported.jsp"/>
<definition name="mindmapEmbedded" page="/jsp/mindmapEmbed.jsp"/>
<definition name="mindmapEditor" page="/jsp/mindmapEditor.jsp"/>
<definition name="mindmapCooker" page="/jsp/mindmapCooker.jsp"/>
<definition name="embeddedViewError" page="/jsp/embeddedViewError.jsp"/>
<definition name="mindmapPrint" page="/jsp/mindmapPrint.jsp"/>
<!-- Template Declaration -->

View File

@@ -24,15 +24,15 @@
<sec:http pattern="/c/login" security="none"/>
<sec:http pattern="/c/userregistration" security="none"/>
<sec:http pattern="/c/activation" security="none"/>
<sec:http pattern="/c/forgotpassword" security="none"/>
<sec:http pattern="/c/home" security="none"/>
<sec:http pattern="/c/maps/*/embed" security="none"/>
<sec:http pattern="/c/activation" security="none"/>
<sec:http pattern="/c/try" security="none"/>
<sec:http pattern="/c/search" security="none"/>
<sec:http pattern="/c/keyboard" security="none"/>
<sec:http pattern="/c/embeddedview" security="none"/>
<sec:http pattern="/c/publicview" security="none"/>
<sec:http pattern="/c/termsOfUse" security="none"/>
<sec:http pattern="/c/keyboard" security="none"/>
<sec:http use-expressions="true" create-session="never" pattern="/service/**">
<sec:intercept-url pattern="/service/admin/users/**" access="isAuthenticated() and hasRole('ROLE_ADMIN')"/>

View File

@@ -136,11 +136,6 @@
<property name="mindmapService" ref="mindmapService"/>
</bean>
<bean id="embeddedView" class="com.wisemapping.controller.EmbeddedViewController">
<property name="methodNameResolver" ref="paramResolverByAction"/>
<property name="mindmapService" ref="mindmapService"/>
</bean>
<bean id="urlMapping" class="org.springframework.web.servlet.handler.SimpleUrlHandlerMapping">
<property name="interceptors">
<list>
@@ -152,7 +147,6 @@
<props>
<!-- Review -->
<prop key="publicView">publicView</prop>
<prop key="embeddedView">embeddedView</prop>
<!-- Forms based -->
<prop key="userRegistration">userController</prop>