ICEfaces
  1. ICEfaces
  2. ICE-4150

gMapMarker component doesn't respect its "longitude" and "latitude" attributes, and must require a gMapLatLng or gMapLatLngs to render GMarker(s)

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.7.2
    • Fix Version/s: 1.8RC2, 1.8
    • Component/s: ICE-Components
    • Labels:
      None
    • Environment:
      Development is in Netbean running on a Mac. Application is running on Glassfish v2
    • Workaround Exists:
      Yes
    • Workaround Description:
      Hide
      I had to create a gMapLatLng with the design interface and then do the following, directly editing the JSP code.

      Change <ice:gMapMarker id="gMapMarker" Lat..../ > to <ice:gMapMarker id="gMapMarker"></ice:gMapMarker>

      Move the gMapLatLng tag to within the gMapMarker tags.


      Show
      I had to create a gMapLatLng with the design interface and then do the following, directly editing the JSP code. Change <ice:gMapMarker id="gMapMarker" Lat..../ > to <ice:gMapMarker id="gMapMarker"></ice:gMapMarker> Move the gMapLatLng tag to within the gMapMarker tags.

      Description

      I'm using ICEFaces as delivered in the Netbeans plugin and developing as a Visual Web JSF project. I would create a marker using the design interface but the markers would not show up on a map at runtime. I spent several hours looking through documentation trying to find a solution.

      I did find a workaround which I noted below. However the workaround does not show up in the Desgin interface.

        Issue Links

          Activity

          Eric Marsh created issue -
          Frank Ye made changes -
          Field Original Value New Value
          Assignee Frank Ye [ frank.ye ]
          Frank Ye made changes -
          Link This issue blocks ICE-3581 [ ICE-3581 ]
          Hide
          Frank Ye added a comment -

          create GMapLatLng and GMapLatLngs as default child of GMapMarker

          Show
          Frank Ye added a comment - create GMapLatLng and GMapLatLngs as default child of GMapMarker
          Frank Ye made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Fix Version/s 1.8 [ 10161 ]
          Resolution Fixed [ 1 ]
          Frank Ye made changes -
          Assignee Frank Ye [ frank.ye ] Adnan Durrani [ adnan.durrani ]
          Frank Ye made changes -
          Resolution Fixed [ 1 ]
          Status Resolved [ 5 ] Reopened [ 4 ]
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #18483 Thu Mar 05 14:46:35 MST 2009 adnan.durrani Fix for ICE-4150 (gMapMarker component doesn't respect its "longitude" and "latitude" attributes, and must require a gMapLatLng or gMapLatLngs to render GMarker(s))
          Files Changed
          Commit graph MODIFY /icefaces/trunk/icefaces/component/src/com/icesoft/faces/component/gmap/GMapMarker.java
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #18485 Thu Mar 05 14:57:16 MST 2009 adnan.durrani GMap demo updated so it can use the benefit of the following fix ICE-4150.
          Files Changed
          Commit graph MODIFY /icefaces/trunk/icefaces/samples/component-showcase/common-web/WEB-INF/includes/examples/custom/gmap.jspx
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #18486 Thu Mar 05 15:26:35 MST 2009 adnan.durrani Description added which defines how to use the gMapMarker component with or without the gMapLatLng and gMapLatLngs components. Related to ICE-4150
          Files Changed
          Commit graph MODIFY /icefaces/trunk/icefaces/component-metadata/src/main/resources/conf/custom/gMapMarker-renderer.xml
          Adnan Durrani made changes -
          Summary gMapMarker reqires gMapLatLng in order to be rendered gMapMarker component desn't respect its "longitude" and "latitude" attributes, and must require a gMapLatLng or gMapLatLngs to render GMarker(s)
          Salesforce Case []
          Adnan Durrani made changes -
          Summary gMapMarker component desn't respect its "longitude" and "latitude" attributes, and must require a gMapLatLng or gMapLatLngs to render GMarker(s) gMapMarker component doesn't respect its "longitude" and "latitude" attributes, and must require a gMapLatLng or gMapLatLngs to render GMarker(s)
          Salesforce Case []
          Hide
          Adnan Durrani added a comment -

          Changes made so the gMapMarker component will respect its "longitude" and "latitude" attributes. So now it can be used without any of the following component : gMapLatLng or gMapLatLngs.

          <ice:gMapMarker id="gmarker" latitude="51" longitude="-90" />

          Modified: D:\work\development\head\svn\ossrepo\icefaces\trunk\icefaces\component\src\com\icesoft\faces\component\gmap\GMapMarker.java
          Sending content: D:\work\development\head\svn\ossrepo\icefaces\trunk\icefaces\component\src\com\icesoft\faces\component\gmap\GMapMarker.java
          Completed: At revision: 18483

          Show
          Adnan Durrani added a comment - Changes made so the gMapMarker component will respect its "longitude" and "latitude" attributes. So now it can be used without any of the following component : gMapLatLng or gMapLatLngs. <ice:gMapMarker id="gmarker" latitude="51" longitude="-90" /> Modified: D:\work\development\head\svn\ossrepo\icefaces\trunk\icefaces\component\src\com\icesoft\faces\component\gmap\GMapMarker.java Sending content: D:\work\development\head\svn\ossrepo\icefaces\trunk\icefaces\component\src\com\icesoft\faces\component\gmap\GMapMarker.java Completed: At revision: 18483
          Adnan Durrani made changes -
          Status Reopened [ 4 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Hide
          Adnan Durrani added a comment -

          GMap demo under component-showcase has been updated.
          Modified: D:\work\development\head\svn\ossrepo\icefaces\trunk\icefaces\samples\component-showcase\common-web\WEB-INF\includes\examples\custom\gmap.jspx
          Sending content: D:\work\development\head\svn\ossrepo\icefaces\trunk\icefaces\samples\component-showcase\common-web\WEB-INF\includes\examples\custom\gmap.jspx
          Completed: At revision: 18485

          Show
          Adnan Durrani added a comment - GMap demo under component-showcase has been updated. Modified: D:\work\development\head\svn\ossrepo\icefaces\trunk\icefaces\samples\component-showcase\common-web\WEB-INF\includes\examples\custom\gmap.jspx Sending content: D:\work\development\head\svn\ossrepo\icefaces\trunk\icefaces\samples\component-showcase\common-web\WEB-INF\includes\examples\custom\gmap.jspx Completed: At revision: 18485
          Hide
          Adnan Durrani added a comment -

          Description added which defines how to use the gMapMarker component with or without the gMapLatLng and gMapLatLngs components.

          Modified: D:\work\development\head\svn\ossrepo\icefaces\trunk\icefaces\component-metadata\src\main\resources\conf\custom\gMapMarker-renderer.xml
          Sending content: D:\work\development\head\svn\ossrepo\icefaces\trunk\icefaces\component-metadata\src\main\resources\conf\custom\gMapMarker-renderer.xml
          Completed: At revision: 18486

          Show
          Adnan Durrani added a comment - Description added which defines how to use the gMapMarker component with or without the gMapLatLng and gMapLatLngs components. Modified: D:\work\development\head\svn\ossrepo\icefaces\trunk\icefaces\component-metadata\src\main\resources\conf\custom\gMapMarker-renderer.xml Sending content: D:\work\development\head\svn\ossrepo\icefaces\trunk\icefaces\component-metadata\src\main\resources\conf\custom\gMapMarker-renderer.xml Completed: At revision: 18486
          Ken Fyten made changes -
          Fix Version/s 1.8RC2 [ 10163 ]
          Fix Version/s 1.8 [ 10161 ]
          Ken Fyten made changes -
          Fix Version/s 1.8 [ 10161 ]
          Ken Fyten made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          Assignee Adnan Durrani [ adnan.durrani ]

            People

            • Assignee:
              Unassigned
              Reporter:
              Eric Marsh
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: