Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

htmlInformationWindow not shown in 1.1.4 #158

Open
GoogleCodeExporter opened this issue Mar 23, 2016 · 1 comment
Open

htmlInformationWindow not shown in 1.1.4 #158

GoogleCodeExporter opened this issue Mar 23, 2016 · 1 comment

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?

I generate the marker and htmlInformationWindow dynamically at server side.

My Page Code:

<m:map id="GoogleMap"
width="1080px" )}"
height="500px" binding="#{myBean.binding}"
enableScrollWheelZoom="true" autoReshape="false"
latitude="#{myBean.latitude}"
longitude="#{myBean.longitude}"
zoom="#{myBean.zoom}"
renderOnWindowLoad="false" type="G_NORMAL_MAP" jsVariable="jsMap" 
rendered="true">
(renderOnWindowLoad is changed to partiallyRender in 1.1.4)
<m:mapControl name="GMapTypeControl" position="G_ANCHOR_TOP_RIGHT" />
<m:mapControl name="GLargeMapControl" position="G_ANCHOR_BOTTOM_LEFT" />
</m:map>

Server side code:

Marker mark = null;
HTMLInformationWindow window = null;
Icon icon = null;

map.getChildren().clear();

mark = new Marker();

mark.setLongitude(123);
mark.setLatitude(123);
mark.setJsVariable("mark1");
mark.setId("mark1");

window = new HTMLInformationWindow();
window.setId("win1");

window.setHtmlText("test");

icon = new Icon();
icon.setId("icon1");
icon.setWidth("12");
icon.setHeight("20");
icon.setShadowHeight("25");
icon.setShadowWidth("17");
icon.setImageURL("../../img/marker.png");

mark.getChildren().add(icon);
mark.getChildren().add(window);
map.getChildren().add(mark);                


What is the expected output? What do you see instead?
htmlInformationWindow works fine in Version 1.1.3. But it is not shown in 
Version 1.1.4

What version of the product are you using? On what operating system?
I'm using 1.1.4 (works fine in Version 1.1.3), 
Webshere V6.1, 
Tools: IBM RAD 7.0.0.1
OS: Windows7


Original issue reported on code.google.com by [email protected] on 7 Mar 2011 at 6:17

@GoogleCodeExporter
Copy link
Author

Issue 159 has been merged into this issue.

Original comment by [email protected] on 28 May 2011 at 1:10

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant