Hitachi Vantara Pentaho Community Forums
Results 1 to 8 of 8

Thread: get longitude et laltitude from map component

  1. #1

    Default get longitude et laltitude from map component

    Hello ,
    I am now using tha new map component and I have many points on this map .
    I defined 2 Generic simple parameters (longitudde and latitude).
    I like to get , for each marker , it's coordinates to use that for the poup up window.
    I don't know what I have to put on these feilds :
    * Marker click function
    *CGG graph for marker

    ther is a screen shot .
    thank you

    Haythem

  2. #2

    Default screen shot

    Name:  h1.jpg
Views: 125
Size:  15.1 KBName:  h2.jpg
Views: 134
Size:  39.4 KB

  3. #3
    Join Date
    Nov 2011
    Posts
    1,229

    Default

    You don't have to fill anything there. If you specify the Div for popup window, you just need to set content to that div.
    From your screenshots, the longitude and latitude parameters are already being filled with the correct info (or they should be - the Marker Click parameters seem ok).
    Pedro Vale
    --
    CTools Product Development
    http://www.webdetails.pt

  4. #4

    Default

    Quote Originally Posted by pamval View Post
    You don't have to fill anything there. If you specify the Div for popup window, you just need to set content to that div.
    From your screenshots, the longitude and latitude parameters are already being filled with the correct info (or they should be - the Marker Click parameters seem ok).
    Hello ,
    thank you for your response but the problem is the same .
    There is no parameter passing between the click on the map and the table component.

    for the map , the sql script is :

    select "X_WGS84" as longitude
    , "Y_WGS84" as latitude
    from
    public."pmr"
    I have 2 custom parameters longitude & latitude , these parameters are marked as elements of the map component's "Marker Click Parameters".
    for the hiddenContentCol , I make a Table which its data source is a sql script which is :

    SELECT "id_PMR","Lib_voie","No","code_insee","nb_places" FROM "public"."pmr" WHERE "X_WGS84" = ${longitude} AND "Y_WGS84" = ${latitude}
    when I click on a marker the poup up window is empty.
    I don't know why longitude and latitude are not reading by the table.

  5. #5

    Default

    what I have to write into the marker clic action to get my 2 parameters : longitude and latitude

  6. #6
    Join Date
    Nov 2011
    Posts
    1,229

    Default

    Does the CDA query have the longitude and latitude parameters declared ?
    Pedro Vale
    --
    CTools Product Development
    http://www.webdetails.pt

  7. #7

    Default

    Yes pamval ,
    when I use the CDA and I insert a longitude and a latitude I got a result for my query

  8. #8
    Join Date
    Nov 2011
    Posts
    1,229

    Default

    Ok, please file a bug at redmine.webdetails.org (create an user if you don't have one) and append as much info as you can.

    We'll track it from there.

    thanks!
    Pedro Vale
    --
    CTools Product Development
    http://www.webdetails.pt

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Privacy Policy | Legal Notices | Safe Harbor Privacy Policy

Copyright © 2005 - 2019 Hitachi Vantara Corporation. All Rights Reserved.