9 Replies Latest reply: Nov 15, 2012 9:38 AM by joaquimalvarez RSS

    Latitud and longitud are always 0

      hello,

      I'm trying to implement locations in a map. I copied an object from an example but when i put my data in it comes out that longitude and latitude are always 0 after aplying the formula.

       

      =sum( round (256*pow(2,($(var_zoom)-1)))+( Longitude  *((256*pow(2,$(var_zoom)))/360)) )

      =sum( 

      ((256*pow(2,($(var_zoom)-1)))+((0.5*log((1+(sin((Latitude)*pi()/180)))/(1-(sin((Latitude)*pi()/180)))))*((-256*pow(2,$(var_zoom)))/(2*pi()))))

      )

       

      As you could see in the image.... all my locations appear in the down left corner because of the zero values

       

      thanks in advanced